[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: write doctype declaration and entity references to
Thanks for the quick reply Michael. I found this: http://www.dpawson.co.uk/xsl/sect2/N2281.html#d3805e19 Are there any reasons why I shouldn't use this method versus the extensions you recommended? Thank you. -----Original Message----- From: Michael Kay mike@xxxxxxxxxxxx [mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx] Sent: Sunday, March 01, 2015 8:10 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: write doctype declaration and entity references to result > > I need to write a doctype declaration with some entity references to > my result document. This information is NOT in my source document. Is > there a mechanism for doing this in an XSLT 2.0 stylesheet? No there isn't. You could consider the saxon:doctype extension instruction, or Andrew Welch's LexEv. Michael Kay Saxonica > An example might be: > > <!DOCTYPE myDoc [ > <!ENTITY myLogo SYSTEM "images/myLogo.svg" NDATA svg> ]> > > Thanks in advance. > > Rick Quatro > Carmen Publishing Inc. > 585-366-4017 > rick@xxxxxxxxxxxxxxx
|
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
|