Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: XML Parsing

by blue_cowdawg (Monsignor)
on Sep 21, 2012 at 13:58 UTC ( #994911=note: print w/ replies, xml ) Need Help??


in reply to XML Parsing

AUUGH! My eyes! :-D

My favorite XML parser is XML::Simple. Having said that I tried parsing this with a quick and dirty script and it would seem there is something very wrong with that XML... or it could be me.

I attempted to clean up the XML and failed miserably. You might want to review its structure and make sure you have matching closures for all your attributes. Sample error I got:

could not find ParserDetails.ini in /usr/lib/perl5/site_perl/5.14/XML/ +SAX Name <+passed> does not match NameChar production [Ln: 8, Col: 4859721 +220]


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg


Comment on Re: XML Parsing
Download Code
Re^2: XML Parsing
by remiah (Hermit) on Sep 21, 2012 at 23:34 UTC

    Hello

    His XML doesn't have last '</workflows>' tag.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994911]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2015-07-07 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls