This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Create CDATA Section in XML Output
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Create CDATA Section in XML Output
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Tue, 9 Oct 2001 15:44:40 +0100
- References: <20011009141056.18092.qmail@web13802.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I need to output a CDATA tag in the XML output.
that's unlikely, CDATA is justa convenience for input, to save you
writing < everywhere.
> It looks as if every single token is being placed in
> a seperate CDATA section, instead of one CDATA
> surrounding the contents of the tag.
which I suppose is legal, but not what most XSLT systems do.
> I get the correct output for the
> grammar tag, but the VoiceXML interpreter won't accept
> it without the CDATA surrounding.
Is that really true? that's weird. After the XML parse, the application
(voice XML in this case) shouldn't care how the file looked.
> I'm using Xerces/Xalan. Any solutions would be greatly
do you have to use that. Does for example saxon give more acceptable
output?
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list