Subject: Re: Output source XML structure as escaped HTML
From: "arser.abitu.ru" <arser@xxxxxxxx>
Date: Wed, 23 Jan 2002 10:34:41 +0300
|
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@xxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|