Computers |
|
| | #1 (permalink) |
| True Techie Join Date: May 2006
Posts: 101
| I need to use Perl to take an XML document and get a URL that is in the tag <pic></pic>, there are multiple instances of <pic> eg. Code: <root> <child> <pic>http://www.somesite.com/image.jpg</pic> </child> <child> <Pic fieldName="Pic" originalElement="img" src="URL HERE" type="field"/> </child> </root> I also need to download the picture from the urls found in the xml document. ps i would rather not use re's (b/c i suck at them) ![]()
__________________ .:HP Pavillion dv6000:. 1.8 ghtz Intel Core 2 Duo 2GB RAM 120 GB HDD nVidia Go graphics Apache 2.2 (looking for a domain name) |
| | |
| | #3 (permalink) |
| True Techie Join Date: May 2006
Posts: 101
| Wgas going on! is this forum dead! I've tried CPAN but im confused on how to use XML::Parse is there ont that will create simple hashes or arrays or something that outlines the data in the xml doc.
__________________ .:HP Pavillion dv6000:. 1.8 ghtz Intel Core 2 Duo 2GB RAM 120 GB HDD nVidia Go graphics Apache 2.2 (looking for a domain name) |
| | |