XML::Mini::Element 1.2.8
Sponsored Links
XML::Mini::Element 1.2.8 Ranking & Summary
File size:
0.034 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
961
Date added:
2007-03-08
Publisher:
Patrick Deegan
XML::Mini::Element 1.2.8 description
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 $xmlElement = $xmlDoc->getRoot();
# Create an tag
my $xmlHeader = $xmlElement->header(xml);
# add the version to get
$xmlHeader->attribute(version, 1.0);
# Create a sub element
my $newChild = $xmlElement->createChild(mychild);
$newChild->text(hello mommy);
# Create an orphan element
my $orphan = $xmlDoc->createElement(annie);
$orphan->attribute(hair, #ff0000);
$orphan->text(tomorrow, tomorrow);
# Adopt the orphan
$newChild->appendChild($orphan);
# ...
# add a child element to the front of the list
$xmlElement->prependChild($otherElement);
print $xmlDoc->toString();
The code above would output:
< ?xml version="1.0" ? > < mychild > hello mommy < annie hair="#ff0000" > tomorrow, tomorrow < /annie > < /mychild >
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 $xmlElement = $xmlDoc->getRoot();
# Create an tag
my $xmlHeader = $xmlElement->header(xml);
# add the version to get
$xmlHeader->attribute(version, 1.0);
# Create a sub element
my $newChild = $xmlElement->createChild(mychild);
$newChild->text(hello mommy);
# Create an orphan element
my $orphan = $xmlDoc->createElement(annie);
$orphan->attribute(hair, #ff0000);
$orphan->text(tomorrow, tomorrow);
# Adopt the orphan
$newChild->appendChild($orphan);
# ...
# add a child element to the front of the list
$xmlElement->prependChild($otherElement);
print $xmlDoc->toString();
The code above would output:
< ?xml version="1.0" ? > < mychild > hello mommy < annie hair="#ff0000" > tomorrow, tomorrow < /annie > < /mychild >
XML::Mini::Element 1.2.8 Screenshot
XML::Mini::Element 1.2.8 Keywords
XML
Mini Element API
Element 1.2.8
API
Perl Implementation
element
Perl
implementation
1.2.8
XML::Mini::Element
XMLMiniElement
XML::Mini::Element 1.2.8
Libraries
Programming
Bookmark XML::Mini::Element 1.2.8
XML::Mini::Element 1.2.8 Copyright
WareSeeker periodically updates pricing and software information of XML::Mini::Element 1.2.8 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::Mini::Element 1.2.8 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
Related Software
XML::Mini::Element::CData Perl module is used internally to represent < ![CDATA [ CONTENTS ]] >. Free Download
XML::Mini::Element::Entity Perl module is used internally to represent < !ENTITY name "stuff" >. Free Download
XML::Mini::Element::Header Perl module is used internally to represent < ? xml blah="hohoho" ? > type headers. Free Download
XML::Mini::Element::Comment is used internally to represent . Free Download
XML::Mini::Element::DocType Perl module is used internally to represent < !DOCTYPE bla bla [ ... ] >. Free Download
XML::Mini::TreeComponent is a Perl implementation of the XML::Mini TreeComponent API. Free Download
XML::Mini::Document is a Perl implementation of the XML::Mini Document API. Free Download
XML::Mini is a Perl implementation of the XML::Mini XML create/parse interface. Free Download
Latest Software
Popular Software
Favourite Software