This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Convert mutiple escaped items from xml to HTML
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Convert mutiple escaped items from xml to HTML
- From: "Yang" <sfyang at unisvr dot net dot tw>
- Date: Wed, 22 Aug 2001 14:19:47 +0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@unisvr.net.tw
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list