"From Selected Element" XPath view option
Are you missing a feature? Request its implementation here.
"From Selected Element" XPath view option
It would be nice to have an option to calculate XPath expression in XPath view using current selected element as XPath context.
It may be also useful to view current node XPath (in separate view or popup window).
It may be also useful to view current node XPath (in separate view or popup window).
Hi,
You can do this if you switch to the debugging perspective. You can use your XML file and an empty stylesheet for debugging scenario. Then put the cursor on the line containing the element you want to be the current element and choose the run to cursor action. Then go to the XWatch view and enter the XPath expressions you want to be evaluated in that node. The selected node is available in the Context view. If an XPath entered in the XWatch view evaluates to a NodeSet you will see the nodes in the NodeSet view (in the right part). Clicking on a node will highlight it in the document.
Hope that helps,
George
You can do this if you switch to the debugging perspective. You can use your XML file and an empty stylesheet for debugging scenario. Then put the cursor on the line containing the element you want to be the current element and choose the run to cursor action. Then go to the XWatch view and enter the XPath expressions you want to be evaluated in that node. The selected node is available in the Context view. If an XPath entered in the XWatch view evaluates to a NodeSet you will see the nodes in the NodeSet view (in the right part). Clicking on a node will highlight it in the document.
Hope that helps,
George
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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