The following will be my output XML file:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mybook PUBLIC "-//ATM//DTD MYBOOK//EN" "mybook.dtd"[ <!ENTITY G2007040101 SYSTEM "G2007040101.gif" NDATA GIF> <!ENTITY G2007040102 SYSTEM "G2007040102.gif" NDATA GIF> ]> <mybook> ....... </mybook>
Using <xsl:output>, I know how to output PUBLIC and SYSTEM. The thing is I do not know how to output the entity declaration in the xml. I.e.: how to output the following:
<!ENTITY G2007040101 SYSTEM "G2007040101.tif" NDATA TIF>
in the XML.
I searched XSLT spec 1.0, 2.0 and this list-archive but I did not find a solution yet. So I post it here.
Thanks very much.
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