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

XML::Parser::EasyTree 0.01

  Date Added: January 25, 2010  |  Visits: 693

XML::Parser::EasyTree

Report Broken Link
Printer Friendly Version


Product Homepage
Download (74 downloads)



XML::Parser::EasyTree is an easier tree style for XML::Parser. SYNOPSIS use XML::Parser; use XML::Parser::EasyTree; $XML::Parser::Easytree::Noempty=1; my $p=new XML::Parser(Style=>EasyTree); my $tree=$p->parsefile(something.xml); XML::Parser::EasyTree adds a new "built-in" style called "EasyTree" to XML::Parser. Like XML::Parsers "Tree" style, setting this style causes the parser to build a lightweight tree structure representing the XML document. This structure is, at least in this authors opinion, easier to work with than the one created by the built-in style. When the parser is invoked with the EasyTree style, it returns a reference to an array of tree nodes, each of which is a hash reference. All nodes have a type key whose value is the type of the node: e for element nodes, t for text nodes, and p for processing instruction nodes. All nodes also have a content key whose value is a reference to an array holding the elements child nodes for element nodes, the string value for text nodes, and the data value for processing instruction nodes. Element nodes also have an attrib key whose value is a reference to a hash of attribute names and values. Processing instructions also have a target key whose value is the PIs target. EasyTree nodes are ordinary Perl hashes and are not objects. Contiguous runs of text are always returned in a single node. The reason the parser returns an array reference rather than the root elements node is that an XML document can legally contain processing instructions outside the root element (the xml-stylesheet PI is commonly used this way). If the parsers Namespaces option is set, element and attribute names will be prefixed with their (possibly empty) namespace URI enclosed in curly brackets..

Requirements: No special requirements
Platforms: Linux
Keyword: Easier Easytree Libraries Nodes Programming Reference Style Tree Value Xml Xmlparsereasytree
Users rating: 0/10

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


XML::PARSER::EASYTREE RELATED
Libraries  -  XML::SimpleObject 0.53
XML::SimpleObject is a Perl extension allowing a simple object representation of a parsed XML::Parser tree. SYNOPSIS use XML::SimpleObject; # Construct with the key/value pairs as argument; this will create its # own XML::Parser object. my...
11.26 KB  
Development Editors  -  Bing Maps WPF Control 1.0 Beta 1
This software development kit (SDK) provides the binaries and programming reference for the Bing Maps WPF Control (Beta). When the installation completes, you can choose to open the Bing Maps WPF Control (Beta) SDK help file...
 
Utilities  -  Jadex BDI Agent System 2.0
Jadex is a Belief Desire Intention (BDI) reasoning engine that allows for programming intelligent software agents in XML and Java. The resoning engine is very flexible and can be used on-top of different middleware infrastructures such as JADE.
25.73 MB  
Programming  -  Jadex BDI Agent System 2.0
Jadex is a Belief Desire Intention (BDI) reasoning engine that allows for programming intelligent software agents in XML and Java. The resoning engine is very flexible and can be used on-top of different middleware infrastructures such as JADE.
25.73 MB  
Libraries  -  XML::Handler::Trees 0.02
XML::Handler::Trees is a PerlSAX handlers for building tree structures. SYNOPSIS use XML::Handler::Trees; use XML::Parser::PerlSAX; my $p=XML::Parser::PerlSAX->new(); my $h=XML::Handler::Tree->new(); my...
7.17 KB  
Libraries  -  Polymorphic XML Parser 1.1.6
Polymorphic XML Parser is a validating XML parser for the programming language Objective Caml. In October, 1999, I started writing a validating XML parser for OCaml; the first published versions have been called "Markup" (simply because the...
614.4 KB  
Programming  -  Gtk2::Ex::Simple::Tree for Linux 0.50
Gtk2 has a powerful, but complex MVC (Model, View, Controller) system used to implement list and tree widgets. The Gtk2::Ex::Simple::Tree Perl module automates the complex setup work and allows you to treat the tree model as a more natural list of...
10.24 KB  
Modules  -  Corresponding node references 7.x-4.22
It syncs the node reference between two node types which have a nodereference to each other, so double editing nodes is no more needed. If one node has a reference the other node receives also a reference to the saved node if it is referenced in...
10 KB  
Database Tools  -  wwtk 1.0
wwtk is a wizard-style Web interface for structured information trails - an n-ary decision tree structure based on true/false logic. wwtk project can be used as a Wizard, an expert system, or as a backend for interactive fiction. Structure...
327.68 KB  
Libraries  -  XML::LibXML::Reader 1.63
XML::LibXML::Reader is a Perl interface to libxml2 pull parser. SYNOPSIS use XML::LibXML::Reader; $reader = new XML::LibXML::Reader("file.xml") or die "cannot read file.xmln"; while ($reader->read) { processNode($reader); } sub...
256 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  -  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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB