This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
replace < and > with < and >
Hi,
I got a problem in my stylesheet.
The xml file is returned from a method is in a string format, and the xml
file seems to encode all < and > using < and >. So, what I need to do
is to convert that xml file from a string to a xml nodelist so I can access
all the elements.
Then, first I need to replace all < and > to < and > and then use a
method I wrote called parseXml which takes a string as parameter and
convert it to a nodelist.
But I'm stuck on the first step which is converting all < and > to <
and >.
Here is a sample of my xml file in a STRING:
<record>
<items>
</items>
</record>
Thanks in advance for your help.
Ming
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list