Velocity Reviews

Velocity Reviews (
-   Perl Misc (
-   -   Help with traversing an XML structure (

Michaelp 08-06-2009 12:20 PM

Help with traversing an XML structure

I have a large number of huge XML-documents that I need to do things
with relatively fast.

I am trying to use the package XML::CompactTree::XS to interact with
the (relatively simple) XML-structurem of these documents.

(see a fragment here: )

The package parses a tree.

$reader = XML::LibXML::Reader->new(location => $url);
$tree = XML::CompactTree::XS::readSubtreeToPerl($reader );

Prettyprinting this tree with the aid of a data dumper, I get the

>print Data::Dumper->Dump($tree);

$VAR1 = 9;
$VAR2 = 'UTF-8';
$VAR3 = [

All times are GMT. The time now is 07:09 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.