[JDEV] XML Parser..

DJ Adams dj.adams at pobox.com
Mon May 20 07:12:27 CDT 2002


On Mon, May 20, 2002 at 03:59:10PM +0530, Ritu Khetan wrote:
> Hi all,
> 
>    I am looking for an XML::Parser in Perl which will
> let me read and write xml documents using both elements
> and attributes.
> I found XML::Simple, but it supports either elements or
> attributes at a time. I am writing an application which
> needs to modify sub elements of a element depending upon
> an attribute of that element. 

I'm not sure exactly what you're looking for, but did you
have a look at Jabber::NodeFactory[::Node]? It's part of the
Jabber::Connection distribution, and allows you to read and
write XML nodes in a flexible way...

dj



More information about the JDev mailing list