Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Full disclosure: I am the author of the module!

Description

XML::Twig is a module designed for efficient processing of XML.

XML::Twig offers tree as well as stream based processing. It allows loading only parts of the document in order to keep memory requirements to a minimum.

XML::Twig is very Perlish: fast, efficient and it offers many different ways to perform a task.

Why use XML::Twig?

  • you need to do complex processing of huge documents, fast
  • XML::Simple is not enough for you but you don't like XSLT and DOM
  • you like the interface

Why NOT use XML::Twig?

  • you can live with the constraints of the DOM API and you want to be able to access XML data bases in the future
  • XML::Simple works for you
  • you don't like the interface

Additional information

You can get more information in the documentation., or in the tutorial, a Quick Reference is also available. Kip Hampton also wrote about it in Using XML::Twig on xml.com.

A list of nodes that include examples of using XML::Twig:

Personal Notes

I use XML::Twig a lot ;--)

It might have some problems with mod_perl, I have not tested it in that environment

Suggestion, bug reports, comments welcome!


In reply to XML::Twig by mirod

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found