xpath with and without namespace
Oxygen general issues.
-
- Posts: 2
- Joined: Wed Feb 20, 2008 8:16 pm
xpath with and without namespace
Post by notessensei »
I like the XPath search box. It is really handy. One little challenge. While I can use /books/book/author to get all authors I need to write it /b:books/b:book/B:authors in my stylesheet due to name space management in my application. (My sample XML doesn't use namespaces). Can I configure the box to ignore (all or certain) namespace prefixes? So /b:books would yield the same result as /books
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: xpath with and without namespace
Post by sorin_ristache »
Hello,
You should add your prefix-namespace mapping to your Oxygen preferences from menu Options -> Preferences -> XML -> XSLT-FO-XQuery -> XPath so that the b prefix is recognized automatically by the XPath toolbar.
Regards,
Sorin
You should add your prefix-namespace mapping to your Oxygen preferences from menu Options -> Preferences -> XML -> XSLT-FO-XQuery -> XPath so that the b prefix is recognized automatically by the XPath toolbar.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service