How about:
- Code: Select all
/tables/*:table
'*:' means from any namespace
If you want to use a specific namespace, declare a prefix mapping for it in:
Options > Preferences, XML > XSLT-FO-XQuery > XPath, Default prefix-namespace mappingsmyns "bbbbb"Then use in the XPath toolbar:
- Code: Select all
/tables/myns:table
Or if you don't want any namespace mappings, there's always the possibility of specifying both the namespace and the local name, but it's messy:
- Code: Select all
/tables/*[namespace-uri()='bbbbb' and local-name()='table']
If you have just started using XPath, there are some tutorials here:
http://www.w3schools.com/xpath/Regards,
Adrian