Re: Using the SAX interface

mirod <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
Michael Ludwig wrote:
> Ben Hobbs schrieb:
>> For something so simple why not make an XSLT document to do the 
>> transformation?
> 
> Because the imaginary input document is a giant one, and there is no 
> streaming extension (as in Saxon) for LibXSLT or any other of the
> XSLT implementations we have at our disposal in Perl.
> 
>> I can't find anything wrong with what you've written to cause it to
>>  crash.  Another, much simpler, XML parser I use is XML::Twig.  It
>> is a SAX/DOM hybrid.  It'll make this much easier for you I think.
> 
> http://xmltwig.com/
> 
> Well, this is, in its own words, "XML, the Perl Way", not the
> standard way. But I'll give it a try.

Which reminds me... XML::Twig also includes a tool, xml_split, that
might do just what you want. Look at the -g or -s options.

-- 
mirod
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.