Thanks that works.  So, the * is saying any namespace.

Yes,   (as of XPath 2.0)
/element  == element in no namepace
/*:element == element in any namepace

Very useful for quick 'one off's when you dont want to bother with the 
neamespace decl,
but its a bad habbit to get into for production code -- you can end up 
selecting elements in unexpected places
that you didnt intend.


-----------------------------------------------------------------------------
David Lee
Lead Engineer
MarkLogic Corporation
[email protected]
Phone: +1 812-482-5224
Cell:  +1 812-630-7622
www.marklogic.com<http://www.marklogic.com/>


_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to