Xml Node Duplicate
XML::DOM::Text is a piece of XML text in XML::DOM. XML::DOM::Text extends XML::DOM::CharacterData, which extends XML::DOM::Node. The Text interface represents the textual content (termed character data in XML) of an Element or Attr. If there is no markup inside an elements content, the text...
Platforms: *nix
License: Freeware | Size: 112.64 KB | Download (100): XML::DOM::Text Download |
The module allows saving XML inside the body of any node type, and have it display differently with XSL, or validated against a preconfigured schema.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Key features "XML...
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (49): XML Content 6.x-1.x-dev / 5.x-1.x-dev Download |
SYNOPPSIS use LWP::Simple use XML::Parser; use XML::Parser::YahooRESTGeocode; #connect to yahoo geocode service my $url = http://api.local.yahoo.com/MapsService/V1/geocode; my $get = appid=YahooDemo&street=701+First+Street&city=Sunnyvale&state=CA; #call yahoo geocode service my $xml =...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (116): XML::Parser::YahooRESTGeocode Download |
XML::Descent is a Perl module for recursive descent XML parsing. SYNOPSIS use XML::Descent; # Create parser my $p = XML::Descent->new({ Input => $xml }); # Setup handlers $p->on(folder => sub { my ($elem, $attr) = @_; $p->on(url => sub { my ($elem, $attr) = @_; my $link = { name...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (93): XML::Descent Download |
XML::Filter::Dispatcher is a path based event dispatching with DOM support. SYNOPSIS use XML::Filter::Dispatcher qw( :all ); my $f = XML::Filter::Dispatcher->new( Rules => [ foo => &handle_foo_start_tag, @bar => &handle_bar_attr, ## Send any elts and their contents to $handler...
Platforms: *nix
License: Freeware | Size: 88.06 KB | Download (93): XML::Filter::Dispatcher Download |
XML::Bare is a minimal XML parser implemented via a C state engine. SYNOPSIS use XML::Bare; my $xml = new XML::Bare( text =>
License: Freeware | Size: 10.24 KB | Download (88): XML::Bare Download |
Bare XML project is a XML parser with all primary parsing done via a simple state engine with about 20 or so different states. A tree structure is created during parsing, with all node names and values linked via pointers directly into the original text buffer. As such, Bare XML is extremely...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (88): Bare XML Download |
XML::SimpleObject::LibXML is a Perl extension allowing a simple(r) object representation of an XML::LibXML DOM object. SYNOPSIS use XML::SimpleObject::LibXML; # Construct with the key/value pairs as argument; this will create its # own XML::LibXML object. my $xmlobj = new...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (94): XML::SimpleObject::LibXML Download |
Test::XML::XPath is a Perl module to test XPath assertions. SYNOPSIS use Test::XML::XPath tests => 3; like_xpath( , /foo ); # PASS like_xpath( , /bar ); # FAIL unlike_xpath( , /bar ); # PASS is_xpath( bar , /foo, bar ); # PASS is_xpath( bar , /bar, foo ); # FAIL # More...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (89): Test::XML::XPath Download |
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 Level 1 Core provides an interface to the list of...
Platforms: *nix
License: Freeware | Size: 112.64 KB | Download (94): XML::DOM::DocumentType Download |
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...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (96): XML::Parser::EasyTree Download |
XML::IDMEF is a module for building/parsing IDMEF messages. QUICK START Below is an example of an Alert IDMEF message. < ?xml version="1.0" encoding="UTF-8"? > < !DOCTYPE IDMEF-Message PUBLIC "-//IETF//DTD RFC XXXX IDMEF v1.0//EN" "idmef-message.dtd" > < IDMEF-Message > < Alert > <...
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (114): XML::IDMEF Download |
Test::XML::Simple is an easy testing for XML. SYNOPSIS use Test::XML::Simple tests=>5; xml_valid $xml, "Is valid XML"; xml_node $xml, "/xpath/expression", "specified xpath node is present"; xml_is, $xml, /xpath/expr, "expected value", "specified text present"; xml_like, $xml, /xpath/expr,...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (92): Test::XML::Simple Download |
XML::XPath::Builder is a SAX handler for building an XPath tree. SYNOPSIS use AnySAXParser; use XML::XPath::Builder; $builder = XML::XPath::Builder->new(); $parser = AnySAXParser->new( Handler => $builder ); $root_node = $parser->parse( Source => [SOURCE] ); XML::XPath::Builder is a...
Platforms: *nix
License: Freeware | Size: 39.94 KB | Download (118): XML::XPath::Builder Download |
Template::Plugin::XML::LibXML is a XML::LibXML Template Toolkit Plugin. SYNOPSIS [% USE docroot = XML.LibXML("helloworld.xml") %] The message is: [% docroot.find("/greeting/text") %] This module provides a plugin for the XML::LibXML module. It can be utilised the same as any other...
Platforms: *nix
License: Freeware | Size: 13.31 KB | Download (99): Template::Plugin::XML::LibXML Download |
XML::Compile::Schema::XmlReader Perl module contains bricks to translate XML to HASH. SYNOPSIS my $schema = XML::Compile::Schema- >new(...); my $code = $schema- >compile(READER = > ...); The translator understands schemas, but does not encode that into actions. This module implements those...
Platforms: *nix
License: Freeware | Size: 122.88 KB | Download (95): XML::Compile::Schema::XmlReader Download |
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/; __PACKAGE__->has_parent(foo);...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (97): Class::XML Download |
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 specification. Additionally to the specified functions the...
Platforms: *nix
License: Freeware | Size: 163.84 KB | Download (99): XML::LibXML::DOM Download |
XML::Mini is a Perl implementation of the XML::Mini XML create/parse interface. SYNOPSIS use XML::Mini::Document; use Data::Dumper; ###### PARSING XML ####### # create a new object my $xmlDoc = XML::Mini::Document->new(); # init the doc from an XML string...
Platforms: *nix
License: Freeware | Size: 34.82 KB | Download (95): XML::Mini Download |
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 processNode { $reader = shift; printf "%d %d %s %dn",...
Platforms: *nix
License: Freeware | Size: 256 KB | Download (108): XML::LibXML::Reader Download |