M
Michaelp
Hello!
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: http://inex.hio.no/~michaelp/test.xml )
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
following:
$VAR1 = 9;
$VAR2 = 'UTF-8';
$VAR3 = [
[
1,
'document',
0,
undef,
[
'ARRAY(0x260eb90)',
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: http://inex.hio.no/~michaelp/test.xml )
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
following:
print Data:umper->Dump($tree);
$VAR1 = 9;
$VAR2 = 'UTF-8';
$VAR3 = [
[
1,
'document',
0,
undef,
[
'ARRAY(0x260eb90)',