xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: DOM and DOCTYPE ARRRGGGGHHHHHHHH
Date Wed, 07 May 2003 18:39:12 GMT
Matthew Oatham wrote:
> When parsing an XML file using DOM I need to get information from the 
> <!DOCTYPE> element. I can get the public ID and System ID but how do I 
> determine if the DTD is of type SYSTEM or PUBLIC. Is there a way?

I don't think so.
Why don't you just study the API docs of your DOM implementation?
It's not all that voluminous, and if there is no such functionality,
well, then you are out of luck.
Then there is also the spec at
  http://www.w3.org/DOM/
and the XML-DEV list
  http://www.xml.org/xml/xmldev.shtml

J.Pietschmann


---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message