Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Reading an XML tag in Perl

by SriniK (Beadle)
on Apr 08, 2011 at 16:20 UTC ( [id://898390]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Reading an XML tag in Perl
in thread Reading an XML tag in Perl

Try this
if ($file->{toolOutput}{xmlns} eq '') { print "Nothing"; next; } if ($file->{toolOutput}{xmlns} eq 'TIFF') { print "TIFF"; next; }
Any way are you validating XML. If not why module we can easily do it in REGEX.

Replies are listed 'Best First'.
Re^4: Reading an XML tag in Perl
by sundialsvc4 (Abbot) on Apr 08, 2011 at 17:10 UTC

    If module, why regex?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-20 03:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found