[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Storing HTML in XML

Subject: RE: Storing HTML in XML
From: "Casadome, Francisco Javier" <Francisco.Casadome@xxxxxxxxxxxxxx>
Date: Thu, 6 Sep 2001 20:43:08 +0200
store html in xml
thank you !

-----Original Message-----
From: Thomas B. Passin [mailto:tpassin@xxxxxxxxxxxx]
Sent: jueves, 06 de septiembre de 2001 19:38
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Storing HTML in XML


[Casadome, Francisco Javier]

>
> 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 ?
>

Yes you can, BUT...

1) You have to write well-formed HTML or you can't have it in an XML file,
UNLESS -
2) you enclose the HTML in CDATA sections.

Either way, remember to use the html output method.

Cheers,

Tom P


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

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.