xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kerstin Kohl <kk...@gmx.de>
Subject Re: DOM and DOCTYPE ARRRGGGGHHHHHHHH
Date Thu, 08 May 2003 06:23:22 GMT
Hi,

I assume that You ar talking about Xerces c++ so You can use the method
getSystemId()   to get the system identifier of the external subset. (XMLCh * ) 

Kerstin 

> Hi,
> 
> 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.e
> 
> <!DOCTYPE test PUBLIC ...
> 
> <!DOCTYPE test SYSTEM ...
> 
> Thanks.
> 
> Matt
> 
> _________________________________________________________________
> On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/mobile
> 
> 
> ---------------------------------------------------------------------
> 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
> 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte l├Ącheln! Fotogalerie online mit GMX ohne eigene Homepage!


---------------------------------------------------------------------
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