Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to write an xpath query including attributes for an XML with namespace

by Corion (Pope)
on Sep 06, 2013 at 12:53 UTC ( #1052706=note: print w/ replies, xml ) Need Help??


in reply to How to write an xpath query including attributes for an XML with namespace

You have no commento nodes in your XML. Maybe that's already the whole problem?

Also, when trying XPath queries, I find it often more beneficial to use unanchored queries while trying things out. You may want to search for //comment instead of commento.


Comment on Re: How to write an xpath query including attributes for an XML with namespace
Select or Download Code
Re^2: How to write an xpath query including attributes for an XML with namespace
by topola1882 (Initiate) on Sep 06, 2013 at 13:45 UTC

    thanks Corion, that was not the problem (i just copied the wrong code). Anyway i resolved with the hint from Choroba

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-12-29 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (191 votes), past polls