This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Storing HTML in XML
- TO: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] Storing HTML in XML
- From: wbchmura at Ensign-BickfordInd dot com
- Date: Thu, 6 Sep 2001 13:36:57 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
Yes, In fact I just got some help on this very topic today.
You want to use:
<xsl:copy-of select="title/node()" />
To get it out. See the thread "Re: [xsl] Question with xsl:copy-of and
xsl:value-of".
if you dont do it this way it will be outputting <myfile> as part of the
result.
Glad I could finally give something back to the group...
-----Original Message-----
From: Francisco.Casadome [mailto:Francisco.Casadome@bowneglobal.es]
Sent: Thursday, September 06, 2001 1:17 PM
To: xsl-list
Subject: [xsl] Storing HTML in XML
Hi,
I would like to know if it's possible to store html code inside xml
tags.
Thus is,
something like:
<files>
<myfile number="1"> ... here goes the HTML code ... </myfile>
<myfile number="2"> ... here goes the HTML code ... </myfile>
<myfile number="3"> ... here goes the HTML code ... </myfile>
...
</files>
In a way that I can output that html code without processing it. The
output
of the xsl should be the HTML inside <myfile> tags.
Can anyone help me ?
Thanks in advance,
Frank.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list