Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Question on XML::LibXML...

by ramrod (Hermit)
on Oct 14, 2009 at 19:58 UTC ( #801187=note: print w/ replies, xml ) Need Help??


in reply to Question on XML::LibXML...

Sounds like you're looking for the text node. Use /text() in your xpath to reference this node.

For example, if you want to point to a particular node:

/root/element/text()
Or more generically:
//element/text()
If you provide some sample xml, we could help out much more.


Comment on Re: Question on XML::LibXML...
Select or Download Code

Log In?
Username:
Password:

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

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

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





    Results (95 votes), past polls