| 1 |
================================================================== |
| 2 |
XML::SimpleObject |
| 3 |
Copyright 2001-2003 by Dan Brian. |
| 4 |
|
| 5 |
This program is free software; you can redistribute it and/or modify |
| 6 |
it under the same terms as Perl itself. |
| 7 |
================================================================== |
| 8 |
|
| 9 |
DESCRIPTION |
| 10 |
|
| 11 |
This is a small and simple package that takes the output of an XML parser |
| 12 |
and gives simple methods for accessing the structure of an XML document. It |
| 13 |
is very lightweight, but provides the simplest access to an XML document |
| 14 |
possible. It does not subclass XML::Parser or XML::LibXML; rather, it is meant |
| 15 |
to serve purely as an object struct for an outgoing tree. |
| 16 |
|
| 17 |
I originally wrote the module as an example of parsing without handlers. |
| 18 |
|
| 19 |
REQUIREMENTS |
| 20 |
|
| 21 |
You need either XML::Parser (for XML::SimpleObject) or XML::LibXML (for |
| 22 |
XML::SimpleObject::LibXML). |
| 23 |
|
| 24 |
Tested on Linux, FreeBSD, and Win32 under perl5.6.0 and perl5.6.1. |
| 25 |
|
| 26 |
INSTALLATION |
| 27 |
|
| 28 |
(cd LibXML/; if installing the LibXML version) |
| 29 |
perl Makefile.PL |
| 30 |
make |
| 31 |
make install |
| 32 |
|
| 33 |
Then look at ex.pl. That pretty much sums up the functionality. |
| 34 |
|