-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
112 lines (60 loc) · 2.65 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
XML::SMART
XML::Smart - A smart, easy and powerful way to access or create XML from files, data and URLs.
DESCRIPTION
This module provides an easy way to access/create XML data. It's based on a HASH
tree created from the XML data, and enables dynamic access to it through the
standard Perl syntax for Hash and Array, without necessarily caring about which
you are working with. In other words, B<each point in the tree works as a Hash and
an Array at the same time>!
This module additionally provides special resources such as: search for nodes by
attribute, select an attribute value in each multiple node, change the returned
format, and so on.
The module also automatically handles 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 by using an URL as the file path ) and has an easy
way to send XML data through sockets - just adding the length of the data in
the <?xml?> header.
You can use I<XML::Smart> with L<XML::Parser>, or with the 2 standart parsers of
XML::Smart:
XML::Smart::Parser
XML::Smart::HTMLParser
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
Object::MultiType 0.3 -> I made this module specially for XML::Smart,
but can be used in others too ;-P.
XML::Parser (OPTIONAL)
TODO
* Finish XPath implementation.
* DTD.
* Implement a better way to declare meta tags.
AUTHOR
Graciliano M. P. C<< <gm at virtuasites.com.br> >>
I will appreciate any type of feedback (include your opinions and/or suggestions). ;-P
Enjoy and thanks for who are enjoying this tool and have sent e-mails! ;-P
CURRENT MAINTAINER
Harish Madabushi, C<< <harish.tmh at gmail.com> >>
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc XML::Smart
You can also look for information at:
RT, CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=XML-Smart
AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/XML-Smart
CPAN Ratings
http://cpanratings.perl.org/d/XML-Smart
Search CPAN
http://search.cpan.org/dist/XML-Smart/
GitHub CPAN
https://github.com/harishmadabushi/XML-Smart
XML::Smart::Tutorial ( Tutorial and examples for XML::Smart. )
XML::Smart::FAQ ( XML::Smart Frequently Asked Questions. )
LICENSE AND COPYRIGHT
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.