[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: doctype decl problem
> an xml decl can have a public identifier, no, because <?xml version = "1.0" ?> that is the xml declaration, not this <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 03December 1999//EN" SYSTEM "http://www.w3.org/Graphics/SVG/SVG-19991203.dtd"> Tha doctype declaration would be legal if you delete SYSTEM (PUBLIC is just followed by two strings the pubid and the sysid) > However... when I remove the doctype line, > my templates trigger quite happily. Most likely the dtd is using an ATTLIST default to supply the namespace declaration for SVG, so when you have the dtd your source document is SVG but when you do <?xml version = "1.0" ?> <svg x="0" y="0" width="2523.895996" height="667.296005"> it is just some random unknown element in the null namespace that happens to be called `svg' David 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
|