Copy Xpath without position
Are you missing a feature? Request its implementation here.
-
- Posts: 29
- Joined: Thu Feb 11, 2010 5:00 pm
Copy Xpath without position
It would be helpful, for example for constructing XSLT stylesheet (see @match attribute), if there would be option to copy XPath without absolute position of elements, for example beside
there could by also variant
Code: Select all
/t:TEI/t:teiHeader[1]/t:fileDesc[1]/t:publicationStmt[1]/t:availability[1]
Code: Select all
/t:TEI/t:teiHeader/t:fileDesc/t:publicationStmt/t:availability
-
- Posts: 2889
- Joined: Tue May 17, 2005 4:01 pm
Re: Copy Xpath without position
Hello,
We have this logged on our issue tracking tool. I've added your vote.
This will be analyzed and implemented in a future version of Oxygen.
Note that there is a simple workaround for this. In the XPath toolbar you can enable XPath update on caret move(toolbar button to the right of the XPath combo with two arrows, grey and red, pointing left).
After enabling this, whenever you move the caret in the edited document, the XPath expression from the combo will be updated to the generic XPath(without absolute position) of the element/attribute found at the location of the caret.
You can then simply copy to clipboard the content of the XPath combo.
The same can be accomplished in the XPath Builder view(Window > Show View > XPath Builder).
Regards,
Adrian
We have this logged on our issue tracking tool. I've added your vote.
This will be analyzed and implemented in a future version of Oxygen.
Note that there is a simple workaround for this. In the XPath toolbar you can enable XPath update on caret move(toolbar button to the right of the XPath combo with two arrows, grey and red, pointing left).
After enabling this, whenever you move the caret in the edited document, the XPath expression from the combo will be updated to the generic XPath(without absolute position) of the element/attribute found at the location of the caret.
You can then simply copy to clipboard the content of the XPath combo.
The same can be accomplished in the XPath Builder view(Window > Show View > XPath Builder).
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
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