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

Re^2: No bonus points for you :-)

by space_monk (Chaplain)
on Mar 25, 2013 at 10:02 UTC ( #1025266=note: print w/replies, xml ) Need Help??

in reply to Re: No bonus points for you :-)
in thread LibXML, XPath and Namespaces

Yes, I'm aware the prefix is meaningless. Word it how you like, I wanted some way of making a null/default prefix map to my namespace. I know that XML has its flaws and this seems to be one of them.

A Monk aims to give answers to those who have none, and to learn from those who know more.

Replies are listed 'Best First'.
Re^3: No bonus points for you :-)
by ikegami (Pope) on Apr 08, 2013 at 03:30 UTC
    It's a limitation of XPaths, not XML. It's entirely possible to define the default namespace in XML.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2016-10-25 00:16 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (313 votes). Check out past polls.