xsl output attributes for cdata-section-elements and doctype-system
I am using an xsl file to transform one xml document to another xml document. I want to use the xsl:output Element to do two things:
1.Generate CDATA sections for the text contained in an xml element,"Description"
2. Add the line "<!DOCTYPE PartInformation SYSTEM "part.dtd">
I am using the following code in the xsl file to do these two things, but it does not seem to be doing anything.
<xsl:output cdata-section-elements="Description" doctype-system="part.dtd"/>
Does anybody have any idea what's happening?
Thanks
Kishore