Subject: Convert mutiple escaped items from xml to HTML
From: "Yang" <sfyang@xxxxxxxxxxxxx>
Date: Wed, 22 Aug 2001 14:19:47 +0800
|
Hi,
I have a xml with a series of escaped items shown in a text node
and want to convert them into the html tag.
<Comment>This is an example.<br /> & you can find more information
in <a href="http://www.dot.com"> dot.com </a> <br
/></Comment>
I use a recursive replace template from dpawson\Replace.htm to replace the
line break <br /> with <br/>.
But with similar replace template, I can not figure out the proper symbol
for replacing
< > in the anchor link expression and also &.
Would U someone there can provide a clue for the solution?
The html output will be like:
This is an example.</br>
& you can find more information in <a href="http://www.dot.com"> dot.com
</a><br/>
Thanks for help.
Sun-fu Yang
sfyang@xxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|