Re: splitting large xml file

2004-07-23 Thread Sean Davis
Rob, Thanks for replying. I ended up answering my own question. I used XML::Twig to find chunks I was interested in, could grab indexing information from the twig, then save the indices in a database for later lookup of the entire XML record and...presto, random-access of 200 Mb of XML! Sean

RE: splitting large xml file

2004-07-22 Thread Hanson, Rob
> Ideally, I would use SAX to parse things Optionally you could look at XML::RAX. Article on the RAX concept: http://www.xml.com/pub/a/2000/04/26/rax/index.html RAX allows you to specify a record seperator (a tag in the XML file), and splits into into chunks of that tag. It is stream based so i