|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: AS-IS Output in XSL
> I want a non-closing tag to appear as follows: > > <!DOCTYPE something something_else_but_not_an_attribute blah blah> A Document Type Declaration is a logical structure that is not accounted for in the XSLT/XPath data model, and thus you can't create it in the result result tree like you would an element. You can, however, use the feature of XSLT that instructs the XSLT processor to emit a Document Type Declaration ahead of the byte-serialized version of the result tree, when the output method is "xml". This is documented in the Output section of the XSLT 1.0 Recommendation. - Mike ____________________________________________________________________ Mike J. Brown, software engineer at My XML/XSL resources: webb.net in Denver, Colorado, USA http://www.skew.org/xml/ 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








