|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: identity transform - include CDATA's, etc
> if the identity transform outputs: > <a>b<a> > this is fine, but if it outputs: > <a>b</a> > this is not, as it could obviously run into problems when the '<' signs > aren't xml but something else (eg javascript code). in this case, the > source document would be valid xml b/c of the CDATA beginning and end > markers, but the output would not be. Sorry if I miss the point because I havent followed this thread, but do you just want to set cdata-section-elements="script" on xsl:output then wrap all of the javascript in your stylesheet in <script> ... </script> and the serialiser will output all of you javascript in cdata sections cheers andrew --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.495 / Virus Database: 294 - Release Date: 30/06/2003 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








