[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] unparsed general entity in output !DOCTYPE
I need to create an unparsed general entity in the output xml DOCTYPE 'statement', as specified in our customer's (Elsevier)documentation: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE serial-issue PUBLIC "-//ES//DTD serials issue DTD version 5.1.0//EN//XML" "si510.dtd" [<!ENTITY cover SYSTEM "cover" NDATA IMAGE>]> I'm thrashing here with things like: <xsl:output method="xml" encoding="UTF-8" doctype-public="-//ES//DTD serials issue DTD version 5.1.0//EN//XML" doctype-system='"si510.dtd" [<!ENTITY cover SYSTEM "cover" NDATA IMAGE>]' indent="yes"/> which gives me: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE serial-issue PUBLIC "-//ES//DTD serials issue DTD version 5.1.0//EN//XML" ""si510.dtd" [<!ENTITY cover SYSTEM "cover" NDATA IMAGE>]"> Note the extra quotes around ""si510.dtd" ... NDATA IMAGE>]". If I remove the single quotes I get an "Expected an attribute name" error. I've tried many variations with no better success. I'm clearly searching for the answer incorrectly. Mostly, I get "..not generally used in practice." when I search on "unparsed general entity". Where can I read about creating these 'heading' statements correctly? And what can I do to get my desired output? Thanks, Karjala
|
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
|