Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.872.951 Times

XML::DocStats 0.01

  Date Added: January 18, 2010  |  Visits: 687

XML::DocStats

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Analyze Denotes Docstats Document Io Libraries Parse Perl Perl Module Programming Simple Analysis Text Xml Document Xmldocstats
Users rating: 0/10

License: Freeware Size: 27.65 KB
USER REVIEWS
More Reviews or Write Review


XML::DOCSTATS RELATED
Libraries  -  XML::Namespace 0.02
XML::Namespace is a Perl module with simple support for XML Namespaces. SYNOPSIS Example 1: using XML::Namespace objects use XML::Namespace; my $xsd = XML::Namespace->new(http://www.w3.org/2001/XMLSchema#); # explicit access via the...
4.1 KB  
Libraries  -  XML::XPathToXML 2.1.0
XML::XPathToXML is a Perl module that generates XML document from XPath expressions. SYNOPSIS my @data = ( /project/name => The Ultimate Question, /project/comment() => generated by XPathToXML , /project/start => 2002-09-08, /project/end...
307.2 KB  
Libraries  -  Xmldoom 0.0.16
Xmldoom package contains the XML Document Object-Oriented Model. Xmldoom is what is commonly refered to as an Object Persistence Framework or an Object-Relational Mapping [1]. Basically, it is a framework that allows you to create an automatic...
102.4 KB  
Libraries  -  XML::NamespaceSupport 1.09
XML::NamespaceSupport is Perl module a simple generic namespace support class. SYNOPSIS use XML::NamespaceSupport; my $nsup = XML::NamespaceSupport->new; # add a new empty context $nsup->push_context; # declare a few prefixes...
8.19 KB  
Libraries  -  XML::DOM::Document 1.44
XML::DOM::Document is an XML document node in XML::DOM. XML::DOM::Document extends XML::DOM::Node. It is the main root of the XML document structure as returned by XML::DOM::Parser::parse and XML::DOM::Parser::parsefile. Since elements, text...
112.64 KB  
Libraries  -  Template::Plugin::XML::Style 2.17
Template::Plugin::XML::Style is a Perl module for simple XML stylesheet transformations. SYNOPSIS [% USE xmlstyle table = { attributes = { border = 0 cellpadding = 4 cellspacing = 1 } } %] [% FILTER xmlstyle %] <...
26.62 KB  
Libraries  -  C++ xml 1.0.0
C++ xml is a C++ library that provides an API for XML document handling. Similar to the JDOM Java interface, a XML document can be parsed, traced and generated by the provided methods. Furthermore, this library is a good example for the usage of...
194.56 KB  
Libraries  -  XML::DOM::DocumentType 1.44
XML::DOM::DocumentType is an XML document type (DTD) in XML::DOM. XML::DOM::DocumentType extends XML::DOM::Node. Each Document has a doctype attribute whose value is either null or a DocumentType object. The DocumentType interface in the DOM...
112.64 KB  
Libraries  -  Class::XML 0.06
Class::XML is a Perl module for simple XML Abstraction. SYNOPSIS package Foo; use base qw/Class::XML/; __PACKAGE__->has_attributes(qw/length colour/); __PACKAGE__->has_child(bar => Bar); package Bar; use base qw/Class::XML/;...
18.43 KB  
Network & Internet  -  XSBrowser 2.00
XSBrowser is a project which creates a human-readable documentation of XML document types. The xsbrowser creates a human-readable documentation of XML document types represented as XML 1.0 DTDs or XML schemas (REC-xmlschema-20010502). The user...
563.2 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB