xsl-list
[Top] [All Lists]

Make safe XML

2003-07-03 07:23:11
Hello,

I have a database that I'd like to persist to XML.  I'm going to use XSLT to
insure that the data in each of the fields is suited for XML.  Since I have
complete control over this data, should I:

a)  use XSLT to encode special characters
b)  just throw all data into CDATA nodes?

If the first option (a), might anyone know of an XSLT template for encoding
special characters?  I will be using ADO and the MSXML4 parser, is there yet
another option available that I'm not thinking of?

Thanks,
Karl


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



<Prev in Thread] Current Thread [Next in Thread>