XML, the Perl Way


NAME

wtr2_twig


SYNOPSYS

  perl wtr2_twig


DESCRIPTION

This code uses the XML::Twig manpage to process the invoices. It uses the full-tree mode: load the entire XML document through the parsefile method and then process it.

It uses mostly navigation to access the information, the first_child and field methods. New elements are created using the insert_new_elt method.

This was easy to write, but you would expect so, as I wrote XML::Twig and I am obviously quite familiar with it ;--)


AUTHOR

Michel Rodriguez <mirod@xmltwig.com>


LICENSE

This code is Copyright (c) 2003 Michel Rodriguez. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Comments can be sent to mirod@xmltwig.com


SEE ALSO

the XML::Twig manpage

Ways to Rome 2 - Kourallinen Dollareita: http://www.xmltwig.com/article/ways_to_rome_2/