Subject: RE: [xsl] Preserve CDATA for all elements From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sun, 14 May 2006 20:16:19 +0100 |
> > As a matter of interest, *why* do you want to preserve the CDATA > > sections in the input document? > Because my client application, which actually uses the > transformed xml is designed such that It just strips of the > string "<![CDATA[" and "]]>" and prints the actually value to > the user. I would strongly recommend that any client application that expects to get XML input should handle the XML by putting it through an XML parser. Otherwise you've got an application that can handle some subsets of XML and not others, and the whole point of XML is to prevent that kind of problem. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Preserve CDATA for all el, Jagdishwar (Jagsmile | Thread | Re: [xsl] Preserve CDATA for all el, George Cristian Bina |
Re: [xsl] Preserve CDATA for all el, Jagdishwar (Jagsmile | Date | [xsl] Passing tree fragment as a tu, Tim Lebo |
Month |