XML::XPath to read multiple files
by Robert Inder other posts by this author
Oct 19 2009 9:04AM messages near this date
view in the new Beta List Site
Re: [XML-Twig] Problems with Newlines in print
|
Re: XML::XPath to read multiple files
& XSLT I am trying to extend an application that uses XML::XPath to extract
fragments of information from a small XML file.
The extension will cause it to summarise this information from
MANY XML files. Doing the obvious thing gets me a working
system, but it is slow.
Currently, I am analysing each file in turn using the existing information
extraction code, and ths is creating an XML::XPath object to do the business.
I realise that this is not a good way to do things, since the README
for XML::XPath says...
It is very much recommended that you use only 1 XPath object
throughout the life of your application.
But it is not obvious what I should do instead!
Yet this must surely be a common thing to do. Musn't it?
So can someone give me (or point me to) an example of how
process a number of files with only a single XPath object?
Thanks...
Robert.
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Robert Inder
Mirod
Tod Harter
Mike Trotman
|