[JDEV] XML Parser..

Nicholas Perez nick at jabberstudio.org
Mon May 20 14:29:11 CDT 2002


You could use XML::Stream from Ryan Eatmon, since your xml trees are 
simple you could use his extremely handy XML::Stream::Tree::XML2Config() 
  method to get a tree perl hash and access things from there. just a 
thought

Nick

DJ Adams wrote:
> On Mon, May 20, 2002 at 05:12:25PM +0530, Ritu Khetan wrote:
> 
>>Hi DJ,
>>
>>  I am not looking at Jabber right now. I am working on
> 
> 
> I know. But nothing's forcing you to use Jabber::NodeFactory[::Node]
> for Jabber stuff :-)
> 
> 
>>another appln. which stores data in XML format.
>>I want to be able to read and write to that xml file
>>using a parser.
>>
>>This what the xml looks like:
>><permissions>
>>    ....
>></permissions>
> 
> 
> You could create a new node with newNodeFromStr(), and then do with
> it what you wanted.
> 
> dj
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev





More information about the JDev mailing list