[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Brownell <david-b@p...>
  • To: Francisco Belloso <pac0rro@y...>, xml-dev@l...
  • Date: Thu, 25 Oct 2001 11:20:00 -0700

>   I need to read the encoding attribute from the first
> xml tag (<?xml ... ). 
> 
>   Is this possible whith SAX?. I've tried
> processingInstruction and startElement....

The question comes up enough that a new extension
should be handling it.  The extension is defined, but
not "released" (it's in CVS, as an "alpha" release).

  http://sax.sourceforge.net/apidoc/org/xml/sax/ext/Locator2.html

So far as I know, that's not yet implemented anywhere.

- Dave



  • References:
    • root tag
      • From: Francisco Belloso <pac0rro@y...>
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member