How to escape character when using style sheet parameter in Java

Subject: How to escape character when using style sheet parameter in Java
From: Hien Luu <Hien@xxxxxxxxxxx>
Date: Thu, 25 May 2000 19:19:41 -0700
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 "&lt;",  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


Current Thread