XPath filter not working with namespaces
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
mikasabaggins
- Posts: 1
- Joined: Thu Apr 02, 2026 10:54 am
- Contact:
XPath filter not working with namespaces
Post by mikasabaggins »
Hi everyone,
I’m using Oxygen XML Editor to process an XML file that includes multiple namespaces. I wrote an XPath expression to select specific elements, but it returns no results even though the elements clearly exist in the document.
I suspect it’s related to how namespaces are handled in XPath, but I’m not sure how to properly declare or reference them inside Oxygen. Could someone explain the correct way to use namespace prefixes in XPath within Oxygen, or point out what I might be missing?
I’m using Oxygen XML Editor to process an XML file that includes multiple namespaces. I wrote an XPath expression to select specific elements, but it returns no results even though the elements clearly exist in the document.
I suspect it’s related to how namespaces are handled in XPath, but I’m not sure how to properly declare or reference them inside Oxygen. Could someone explain the correct way to use namespace prefixes in XPath within Oxygen, or point out what I might be missing?
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