Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Check if XML element exists

by choroba (Chancellor)
on Mar 26, 2013 at 01:16 UTC ( #1025424=note: print w/replies, xml ) Need Help??


in reply to Check if XML element exists

If you want an array always, use the ForceArray option.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Check if XML element exists
by johnfl68 (Beadle) on Mar 26, 2013 at 04:17 UTC

    Thanks:

    I added:

    ForceArray => ['codeshare']

    to the XMLin, and that seems to take care of things.

    Thanks again!

    John

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025424]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2017-04-24 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (433 votes). Check out past polls.