XML::DocStats 0.01
Sponsored Links
XML::DocStats 0.01 Ranking & Summary
File size:
0.027 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1148
Date added:
2006-09-07
Publisher:
Alan Dickey
XML::DocStats 0.01 description
XML::DocStats is a Perl module to produce a simple analysis of an XML document.
SYNOPSIS
Analyze the xml document on STDIN, the STDOUT output format is html:
use XML::DocStats;
my $parse = XML::DocStats->new;
$parse->analyze;
Analyze in-memory xml document:
use XML::DocStats;
my ($xmldata) = @_;
my $parse = XML::DocStats->new(xmlsource=>{String => $xmldata},
BYTES => length($xmldata));
$parse->analyze;
Analyze xml document IO stream, the output format is plain text:
use XML::DocStats;
use IO::File;
my $xmlsource = IO::File->new("< document.xml");
my $parse = XML::DocStats->new(xmlsource=>{ByteStream => $xmlsource});
$parse->format(text);
$parse->analyze;
XML::DocStats parses an xml document using a SAX handler built using Ken MacLeods XML::Parser::PerlSAX. It produces a listing indented to show the element heirarchy, and collects counts of various xml components along the way. A summary of the counts is produced following the conclusion of the parse. This is useful to visualize the structure and content of an XML document.
The output listing is either in plain text or html.
Each xml thingy is color-coded in the html output for easy reading:
- purple denotes elements.
- blue denotes text (character data). The text itself is black.
- olive denotes attributes and attribute valuesin elements, XML-DCL, DOCTYPE, and PIs.
- fuchsia denotes entity references. The name of the entity is in black. fuchsia is also used to denote the root element, and to mark the start and finish of the parse, as well as to label the statistices at the end.
- teal denotes the XML declaration.
- navy denotes the DOCTYPE declaration.
- maroon denotes PIs (processing instructions).
- green denotes comments. The text of the comment is black.
- red denotes error messages should the xml fail to be well-formed.
SYNOPSIS
Analyze the xml document on STDIN, the STDOUT output format is html:
use XML::DocStats;
my $parse = XML::DocStats->new;
$parse->analyze;
Analyze in-memory xml document:
use XML::DocStats;
my ($xmldata) = @_;
my $parse = XML::DocStats->new(xmlsource=>{String => $xmldata},
BYTES => length($xmldata));
$parse->analyze;
Analyze xml document IO stream, the output format is plain text:
use XML::DocStats;
use IO::File;
my $xmlsource = IO::File->new("< document.xml");
my $parse = XML::DocStats->new(xmlsource=>{ByteStream => $xmlsource});
$parse->format(text);
$parse->analyze;
XML::DocStats parses an xml document using a SAX handler built using Ken MacLeods XML::Parser::PerlSAX. It produces a listing indented to show the element heirarchy, and collects counts of various xml components along the way. A summary of the counts is produced following the conclusion of the parse. This is useful to visualize the structure and content of an XML document.
The output listing is either in plain text or html.
Each xml thingy is color-coded in the html output for easy reading:
- purple denotes elements.
- blue denotes text (character data). The text itself is black.
- olive denotes attributes and attribute valuesin elements, XML-DCL, DOCTYPE, and PIs.
- fuchsia denotes entity references. The name of the entity is in black. fuchsia is also used to denote the root element, and to mark the start and finish of the parse, as well as to label the statistices at the end.
- teal denotes the XML declaration.
- navy denotes the DOCTYPE declaration.
- maroon denotes PIs (processing instructions).
- green denotes comments. The text of the comment is black.
- red denotes error messages should the xml fail to be well-formed.
XML::DocStats 0.01 Screenshot
XML::DocStats 0.01 Keywords
XML
DocStats
DocStats 0.01
IO
XML document
to produce
simple analysis
Perl module
denotes
document
analyze
text
parse
Perl
XML::DocStats
XMLDocStats
Bookmark XML::DocStats 0.01
XML::DocStats 0.01 Copyright
WareSeeker periodically updates pricing and software information of XML::DocStats 0.01 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of XML::DocStats 0.01 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
open xml document file format
xml document must have a top level element
xml documents
denote
error loading xml document
xml document structures must start and end within the same entity
what is an xml document
denotes define
xml documentation
only one top level element is allowed in an xml document
define denotes
xml document example
sample xml document
in geometry what does denotes mean
perl modules
blood simple analysis
there is an error in xml document
xml document structure
Related Software
XML::Output is a Perl module for writing simple XML documents. Free Download
XML::Descent is a Perl module for recursive descent XML parsing. Free Download
XML::UM is a Perl module to convert UTF-8 strings to any encoding supported by XML::Encoding. Free Download
XML::DOM::XML_Base Perl module can apply xml:base to attribute values. Free Download
XML::Writer is a Perl extension for writing XML documents. Free Download
XML::DOM::Lite::XSLT is Perl module XSLT engine for XML::DOM::Lite. Free Download
XML::Diff is a Perl module for XML DOM-Tree based Diff & Patch Module. Free Download
XML::Diff is a Perl module for XML DOM-Tree based Diff & Patch Module. Free Download
Latest Software
Popular Software
Favourite Software