XML::Xerces::DOMParseXML::Xerces::DOMParse is a Perl module for parsing DOMs. | |
Download |
XML::Xerces::DOMParse Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Tom Watson and Jason Stewart
- Publisher web site:
- http://search.cpan.org/~jasons/XML-Xerces-1.7.0_0/DOMParse/DOMParse.pm
XML::Xerces::DOMParse Tags
XML::Xerces::DOMParse Description
XML::Xerces::DOMParse is a Perl module for parsing DOMs. XML::Xerces::DOMParse is a Perl module for parsing DOMs.SYNOPSIS # Here;s an example that reads in an XML file from the # command line and then removes all formatting, re-adds # formatting and then prints the DOM back to a file. use XML::Xerces; use XML::Xerces::DOMParse; my $parser = new XML::Xerces::DOMParser (); $parser->parse ($ARGV); my $doc = $parser->getDocument (); XML::Xerces::DOMParse::unformat ($doc); XML::Xerces::DOMParse::format ($doc); XML::Xerces::DOMParse::print (*STDOUT, $doc);Use this module in conjunction with XML::Xerces. Once you have read an XML file into a DOM tree in memory, this module provides routines for recursive descent parsing of the DOM tree. It also provides three concrete and useful functions to format, unformat and print DOM trees, all which are built on the more general parsing functions. Requirements: · Perl
XML::Xerces::DOMParse Related Software