Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • It might help to answer your question if we knew what you want to do with the tree.

    One of the disadvantages of a complex tree structure is the tedium of navigating it to access the data you want. In the XML world, the XPath query language is great for pulling data out of the DOM tree. So having a parser that uses a generic tree module without XPath support doesn't sound particularly appealing.

    The most popular XML module is probably XML::LibXML. Its tree nodes and XPath query engine are implemented in the

    • Hi Grant

      'tedium of navigating' is your problem :-). I'm quite happy to think in terms of tree traversal.

      Also, I have no intention of using XPath for the sorts of things /I/ want to do.

      Also, I'm interested in what motivates people to write modules in various ways.

      Also, I'm interested in a pure Perl solution.

      Also, I'm not worried about the overhead of various mechanisms, but I am interested in the /availability/ of various mechanisms,

      Cheers