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

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

Serving Software Downloads in 956 Categories, Downloaded 50.325.014 Times

XML::EasyOBJ 1.12

  Date Added: March 12, 2010  |  Visits: 678

XML::EasyOBJ

Report Broken Link
Printer Friendly Version


Product Homepage
Download (90 downloads)



XML::EasyOBJ is an easy XML object navigation. SYNOPSIS # open exisiting file my $doc = new XML::EasyOBJ(my_xml_document.xml); my $doc = new XML::EasyOBJ(-type => file, -param => my_xml_document.xml); # create object from XML string my $doc = new XML::EasyOBJ(-type => string, -param => $xml_source); # create new file my $doc = new XML::EasyOBJ(-type => new, -param => root_tag); # read from document my $text = $doc->some_element($index)->getString; my $attr = $doc->some_element($index)->getAttr(foo); my $element = $doc->some_element($index); my @elements = $doc->some_element; # first "some_element" element my $elements = $doc->some_element; # list of "some_element" elements my @elements = $doc->some_element; # write to document $doc->an_element->setString(some string) $doc->an_element->addString(some string) $doc->an_element->setAttr(attrname, val) $doc->an_element->setAttr(attr1 => val, attr2 => val2) # access elements with non-name chars and the underlying DOM my $element = $doc->getElement(foo-bar)->getElement(bar-none); my $dom = $doc->foobar->getDomObj; # get elements without specifying the element name my @elements = $doc->getElement(); my $sixth_element = $doc->getElement(, 5); # remove elements/attrs $doc->remElement(tagname, $index); $doc->tag_name->remAttr($attr); # remap builtin methods $doc->remapMethod(getString, s); my $text = $doc->some_element->s; I wrote XML::EasyOBJ a couple of years ago because it seemed to me that the DOM wasnt very "perlish" and the DOM is difficult for us mere mortals that dont use it on a regular basis. As I only need to process XML on an occasionally I wanted an easy way to do what I needed to do without having to refer back to DOM documentation each time. A quick fact list about XML::EasyOBJ: * Runs on top of XML::DOM * Allows access to the DOM as needed * Simple routines to reading and writing elements/attributes.

Requirements: No special requirements
Platforms: Linux
Keyword: Dom Easy Easy Xml Easyobj Element Elements Libraries New Object Programming String Xmleasyobj
Users rating: 0/10

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


XML::EASYOBJ RELATED
Libraries  -  XML::Mini::Element::Comment 1.2.8
XML::Mini::Element::Comment is used internally to represent . You shouldnt need to use it directly, see XML::Mini::Elements comment() method..
34.82 KB  
Libraries  -  XML::Mini::Element::DocType 1.2.8
XML::Mini::Element::DocType Perl module is used internally to represent . You shouldnt need to use it directly, see XML::Mini::Elements docType() method..
34.82 KB  
Libraries  -  XML::Mini::Element::CData 1.2.8
XML::Mini::Element::CData Perl module is used internally to represent . You shouldnt need to use it directly, see XML::Mini::Elements cdata() method..
34.82 KB  
Libraries  -  XML::Mini::Element::Entity 1.2.8
XML::Mini::Element::Entity Perl module is used internally to represent . You shouldnt need to use it directly, see XML::Mini::Elements entity() method..
34.82 KB  
Libraries  -  XML::Mini::Element::Header 1.2.8
XML::Mini::Element::Header Perl module is used internally to represent type headers. You shouldnt need to use it directly, see XML::Mini::Elements header() method..
34.82 KB  
Libraries  -  XML::Mini::Element 1.2.8
XML::Mini::Element is a Perl implementation of the XML::Mini Element API. SYNOPSIS use XML::Mini::Document; my $xmlDoc = XML::Mini::Document->new(); # Fetch the ROOT element for the document # (an instance of XML::Mini::Element) my...
34.82 KB  
Libraries  -  XML::EasySQL::XMLobj 1.2
XML::EasySQL::XMLobj is a Fork of Robert Hansons killer XML::EasyOBJ module, which offers Easy XML object navigation. SYNOPSIS XML::EasySQL::XMLobj is a fork of Robert Hansons XML::EasyOBJ module. The goal of the fork was to simplify...
11.26 KB  
Libraries  -  XML::DOM::XML_Base 0.02
XML::DOM::XML_Base Perl module can apply xml:base to attribute values. SYNOPSIS use XML::DOM::XML_Base; my $parser = XML::DOM::Parser->new(); my $xml = qq( ); # build the DOM my $dom = $parser->parse( $xml ); # get some...
3.07 KB  
Libraries  -  XML::RSS::Parser 4.0
XML::RSS::Parser is a liberal object-oriented parser for RSS feeds. SYNOPSIS #!/usr/bin/perl -w use strict; use XML::RSS::Parser; use FileHandle; my $p = XML::RSS::Parser->new; my $fh = FileHandle->new(/path/to/some/rss/file); my $feed...
12.29 KB  
Libraries  -  XML::LibXML::DOM 1.58
XML::LibXML::DOM is a XML::LibXML DOM Implementation. XML::LibXML provides an lightwight interface to modify a node of the document tree generated by the XML::LibXML parser. This interface follows as far as possible the DOM Level 3...
163.84 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.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...
3.88 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