Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by Corion (Patriarch)
on Sep 06, 2013 at 12:53 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1052706]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-19 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found