[xsl] extracting tags from a comment

Subject: [xsl] extracting tags from a comment
From: Bryan Tarantina <bryantarantina@xxxxxxxxx>
Date: Wed, 3 Jul 2002 12:13:03 -0700 (PDT)
Quick question... I have an XML doc with a comment.
The comment contains HTML code, and I am converting
the XML to HTML... I am grabbing the value of the
comment, but when it is transformed, it replaces all
of the < with &lt; and such... anyway to prevent this?

so, something like this in the XML:

<!-- <font color="red">here</font> -->

translates to:

&lt;font color="red"&gt;here&lt;/font&gt; 

in the HTML.

Bryan

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread