Re: XML::Simple question

2009-12-23 Thread Mike Blezien
- Original Message - From: "Jenda Krynicky" To: "Perl List" Sent: Tuesday, December 22, 2009 6:44 PM Subject: Re: XML::Simple question From: "Mike Blezien" Hello, were using the XML/Simple module to process a XML response using the code

Re: XML::Simple question

2009-12-22 Thread Jenda Krynicky
From: "Mike Blezien" > Hello, > > were using the XML/Simple module to process a XML response using the code > below. > But for some reason the module can't read the $xmlresponse data unless we > create > a temp file first to store the data then pass that to the module. Is th

Re: XML::Simple question

2009-12-22 Thread Mike Blezien
- Original Message - From: "Robert Wohlfarth" To: "Perl List" Sent: Tuesday, December 22, 2009 5:47 PM Subject: Re: XML::Simple question On Tue, Dec 22, 2009 at 9:54 AM, Mike Blezien wrote: were using the XML/Simple module to process a XML response using the

Re: XML::Simple question

2009-12-22 Thread Robert Wohlfarth
On Tue, Dec 22, 2009 at 9:54 AM, Mike Blezien wrote: > were using the XML/Simple module to process a XML response using the code > below. But for some reason the module can't read the $xmlresponse data > unless we create a temp file first to store the data then pass that to the > module. Is there

Re: xml simple question

2009-10-23 Thread Shlomi Fish
On Friday 23 Oct 2009 15:16:15 Shawn H Corey wrote: > getget wrote: > > The content of 2 files output.xml and input.xml are different. How can > > I create the output file its content the same with input.xml. > > Use a different parser than XML::Simple. I suggest XML::Twig. > > XML::Simple does

Re: xml simple question

2009-10-23 Thread Shawn H Corey
getget wrote: > The content of 2 files output.xml and input.xml are different. How can > I create the output file its content the same with input.xml. Use a different parser than XML::Simple. I suggest XML::Twig. XML::Simple does not distinguish between attributes and content. Because of this, i

Re: XML::Simple question

2008-10-22 Thread Richard Lee
Rob Dixon wrote: Richard Lee wrote: while trying to study the article on perlmonks.org, http://perlmonks.org/?node_id=490846 regarding XML parsing, I need bit of clarfication. how do I parse out http://www.oreilly.com/catalog/covers/perlbp.s.gif"; width="145" height="190" />

Re: XML::Simple question

2008-10-22 Thread Rob Dixon
Richard Lee wrote: > while trying to study the article on perlmonks.org, > > http://perlmonks.org/?node_id=490846 > > regarding XML parsing, I need bit of clarfication. > > how do I parse out > > http://www.oreilly.com/catalog/covers/perlbp.s.gif"; > width="145" height="190" /> >

Re: XML::Simple question

2008-10-22 Thread Dr.Ruud
Richard Lee schreef: > how do I parse out > > http://www.oreilly.com/catalog/covers/perlbp.s.gif"; > width="145" height="190" /> > > I tried $book->{image}->{src}... but doesn't work.. > > use XML::Simple qw(:strict); > > my $library = XMLin($filename, > ForceArray => 1, >

Re: xml simple question

2005-04-15 Thread BJ
Thank you very much, I will look into xpath and xlst. :-) Chris Devers wrote: On Fri, 15 Apr 2005, BJ wrote: I am trying to write a script to aggregate diverse xml documents into tables. The trick is that i dont know the exact stucture of the xml files in advance. [] I basically want every

Re: xml simple question

2005-04-15 Thread Chris Devers
On Fri, 15 Apr 2005, BJ wrote: > I am trying to write a script to aggregate diverse xml documents into > tables. The trick is that i dont know the exact stucture of the xml > files in advance. [] I basically want every bit of data from every > node in Data. Any ideas on how to do that? I am