Or even better (and more portable), without the unnecessary prefix:
/*/*[local-name()='Books'] ... and so on
The function local-name
ignores any prefix, which, as correctly stated by commenters, can vary.
More Related Contents:
- how to ignore namespaces with XPath
- How to ignore namespace when selecting XML nodes with XPath
- How does XPath deal with XML namespaces?
- What are XML namespaces for?
- Xml Namespace breaking my xpath!
- XPath select node with namespace
- How to declare XPath namespaces in xmlstarlet?
- How to retrieve namespaces in XML files using Xpath
- XPath on an XML document with namespace
- targetNamespace and xmlns without prefix, what is the difference?
- Using Xpath With Default Namespace in C#
- Is there a way to learn xpath without using firebug or xpath as firefox is not supporting the addons?
- Current node vs. Context node in XSLT/XPath?
- PHP namespace simplexml problems
- XPath select all elements between two specific elements
- XPath – Difference between node() and text()
- How to use XPath contains() here?
- XML namespaces and attributes
- XPATHS and Default Namespaces
- How to read large xml file without loading it in memory and using XElement
- Extract value of attribute node via XPath
- Why are URLs in XML namespaces?
- How do you output the current element path in XSLT?
- What is the XPath to select a range of nodes?
- Navigating XML nodes in VBScript, for a Dummy
- How to select a node using XPath if sibling node has a specific value?
- How to use XPath function in a XPathExpression instance programatically?
- What is the difference between root node, root element and document element in XML?
- How to remove namespaces from XML using XSLT
- Is it possible to apply normalize-space to all nodes XPath expression finds?