XML::Smart 1.2 is out!
From POD:
This module has an easy way to access/create XML data. It's based on the HASH
tree that is made of the XML data, and enable a dynamic access to it with the
Perl syntax for Hashe and Array, without needing to care if you have a Hashe or an
Array in the tree. In other words, each point in the tree work as a Hash and
an Array at the same time!
You also have extra resources, like a search for nodes by attribute, selection
of an attribute value in each multiple node, change the returned format, etc...
The module alson handle automatically binary data (encoding/decoding to/from base64),
CDATA (like contents with <tags>) and Unicode. It can be used to create XML files,
load XML from the Web (just pasting an URL as a file path) and it has an easy
way to send XML data through socket, just adding the length of the data in
the <?xml?> header.
New Features:
- Added cut_root(), base(), back(), copy() and data_pointer() methods.
- New resource "return format".
- Support for basic entities (defaults).
- Added Support for URLs (with LWP::UserAgent).
- Unicode (UTF-8) support. (Work only on Perl-5.8+)
- Added support for binary and CDATA content and automatically detection of both.
- Added meta generator tag.
- New Parser XML::Smart::HMLParser: for wild XML data or HTML as XML.
Get it at:
http://search.cpan.org/author/GMPASSOS/XML-Smart-1.2/lib/XML/Smart.pm
Graciliano M. P.
"The creativity is the expression of the liberty".
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.