This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
How to escape character when using style sheet parameter in Java
- To: "'XSL-List at mulberrytech dot com'" <XSL-List at mulberrytech dot com>
- Subject: How to escape character when using style sheet parameter in Java
- From: Hien Luu <Hien at Icarian dot com>
- Date: Thu, 25 May 2000 19:19:41 -0700
- Reply-To: xsl-list at mulberrytech dot com
Hi,
I trying to use a Java program to perform the transformation and using the
style sheet
parameter to feed in a string into the style sheet from a Java program. The
problem that I encountered is that if a string contains XML reserved
characters like "<" or ">", the output of the
transformation translates the "<" into "<", so how would one goes about
fixing this
problem? Is there a utility class for encoding the XML reserved characters?
Thanks in advance,
Hien
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list