|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: doctype decl problem
David Carlisle
>> 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">
Sorry, wrong terminology
>
>Tha doctype declaration would be legal if you delete SYSTEM (PUBLIC is
>just followed by two strings the pubid and the sysid)
Thanks David.
>
>> 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
>From the DTD
<!ELEMENT svg (%descTitleDefs;,metadata?,
(path|text|rect|circle|ellipse|line|polyline|polygon|
use|image|svg|g|switch|a
%ceExt;%svgExt;)*) >
<!ATTLIST svg
xmlns CDATA #FIXED 'http://www.w3.org/Graphics/SVG/SVG-19991203.dtd'
id ID #IMPLIED
xml:lang NMTOKEN #IMPLIED
Yes, you are right (as mostly).
One to look out for!
Appreciated David.
Regards, DaveP
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








