[XML-SIG] xmlproc and 4DOM
derekfountain at yahoo.co.uk
Mon Jul 5 01:37:50 EDT 2004
On Sunday 04 July 2004 13:17, you wrote:
> > Is it possible to use the xmlproc validating parser to parse an XML
> > document into a 4DOM object model?
> Yes. Don't know if this is canonical, but I use:
> >>> from xml.dom.ext.reader import Sax2
> >>> Sax2.FromXmlFile('something.xml', validate= 1)
Ah, OK. I didn't think of looking at the Sax interface. Thanks, I'll try it.
> The 1.1 beta release of pxdom which I mentioned then is now out. It's
> slow, but on compliance to DOM specs it's fanatical...
Great, I'll look at that too.
That's my afternoon sorted out. :o)
More information about the XML-SIG