RE: Using the SAX interface

"Amon, Jennifer" <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
I'm using XML::Twig, because my input XML file is HUGE. It works great
for me, eating the elephant in small bites and not tying up huge
resources in the process.

Jen in Ohio 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Michael
Ludwig
Sent: Tuesday, June 03, 2008 12:35 PM
To: [email protected]
Subject: Re: Using the SAX interface

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.

Anyone else using SAX from Perl? Does the code I posted work for you?

Michael Ludwig
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
This message was scanned for viruses prior to entering the Moen network.


_______________________________________________________________________

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material.  Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.  If you received this in error, please contact the sender and delete the material from any computer.
_______________________________________________________________________
_______________________________________________
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.