No, maybe with SAX2 (haven't looked but probably.) Otherwise, you'll have to
fall back to the internal callbacks that the parser itself uses to send data
out to the SAX and DOM parsers.

----- Original Message -----
From: "Alfredo Mu?oz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 28, 2001 8:06 PM
Subject: Getting DOCTYPE information using SAX interface


>
>
>
> HI everybody.
> When using the SAX interface,  there is a way to get the information in
the
> DOCTYPE declaration ?
>
> In the example below:
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <!DOCTYPE RootElement SYSTEM "myDTD.dtd">
> <RootElement>
> ........
> </RootElement>
>
> How I get the name after DOCTYPE (RootElement) and the name after SYSTEM
> (the external DTD name "myDTD.dtd")
> Many thanks
>
> Alfredo
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to