Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Check if XML element exists

by choroba (Abbot)
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.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Check if XML element exists
Download Code
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2014-12-23 01:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls