|
|
XML::Sablotron::SAXBuilder - builds a Sablotron DOM document from SAX events
use XML::Sablotron; use XML::Sablotron::DOM; use XML::Sablotron::SAXBuilder; use XML::Directory;
$dir = new XML::Directory($path); $builder = new XML::Sablotron::SAXBuilder; $doc = $dir->parse_SAX($builder);
This is a SAX handler generating a Sablotron DOM tree from SAX events. Input should be accepted from any SAX1 or SAX2 event generator. This handler implements all methods required for basic Perl SAX 2.0 handler and some of the advanced methods (that make sense for Sablotron DOM tree).
In particular, the following methods are available:
Namespaces are not supported by XML::Sablotron::DOM yet, therefore SAX2 events are accepted but NS information is ignored.
Copyright (c) 2001 Ginger Alliance. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Petr Cimprich, petr@gingerall.cz
XML::Sablotron, XML::Sablotron::DOM, perl(1).