This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Output source XML structure as escaped HTML
- From: "arser.abitu.ru" <arser at abitu dot ru>
- To: Matthew Jaquish <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 23 Jan 2002 10:34:41 +0300
- Subject: Re: [xsl] Output source XML structure as escaped HTML
- References: <4.3.2.7.2.20020122181421.00b01d20@wells.cisco.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello Matthew,
Wednesday, January 23, 2002, 5:25:50 AM, you wrote:
MJ> Hello all,
MJ> I want to take an XML source document and output it's structure into an HTML file as escaped text.
MJ> For example, I want to take this:
MJ> <root>
MJ> <item/>
MJ> <item>test</item>
MJ> <item name="default"/>
MJ> </root>
MJ> And output this escaped text into an HTML file:
MJ> <root>
MJ> <item/>
MJ> <item>test</item>
MJ> <item name="default"/>
MJ> </root>
Use <![CDATA[
<root>
<item/>
<item>test</item>
<item name="default"/>
</root>
]]>
and you will get what u need.
--
Best regards,
arser.abitu.ru mailto:arser@abitu.ru
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list