Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 lurking in the Monastery: (5)
As of 2014-09-17 21:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (99 votes), past polls