XML, the Perl Way


NAME

wtr2_xpath


SYNOPSYS

  perl wtr2_xpath


DESCRIPTION

This code uses the XML::XPath manpage. Accessing the data, the check_invoice and store_invoice functions, is very similar to the code using the XML::LibXML manpage (not surprisingly as the 2 modules were both written by Matt Sergeant ;--) The only difference are the way to create the document object and the name of the method used to get the text of an element (string_value instead of textContent).

Creating the errors element proved a little more challenging.


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::LibXML manpage

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