Storage location for XPath/XQuery Builder Favorites
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 72
- Joined: Thu Mar 26, 2015 4:57 pm
Storage location for XPath/XQuery Builder Favorites
Post by steve.cuzner »
If you set a query as a favorite, does it get stored to the user's global preferences file? How could I easily distribute a query to all of my writers who use a framework so that they are all using the same query consistently and the query gets updated and distributed as needed?
Steve
Steve
Re: Storage location for XPath/XQuery Builder Favorites
Hi,
The XPath/XQuery Builder was designed as a scratch buffer for XSLT/XQuery developers, so it might not be the best tool for writers. The favorites get stored in the global preferences.
Why not place the query in an actual XQuery file and configure an "XML transformation with XQUERY" scenario (either at project or framework level) that can be distributed together with an Oxygen project (.xpr) or .framework file? You can then update the XQuery file as needed.
Regards,
Adrian
The XPath/XQuery Builder was designed as a scratch buffer for XSLT/XQuery developers, so it might not be the best tool for writers. The favorites get stored in the global preferences.
Why not place the query in an actual XQuery file and configure an "XML transformation with XQUERY" scenario (either at project or framework level) that can be distributed together with an Oxygen project (.xpr) or .framework file? You can then update the XQuery file as needed.
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
-
- Posts: 72
- Joined: Thu Mar 26, 2015 4:57 pm
Re: Storage location for XPath/XQuery Builder Favorites
Post by steve.cuzner »
That was my original thought, but that is a transformation. What we are looking for is the ability for writers to find patterns and correct them. When you put the xq in the builder, the results are listed in the results tab and can be double clicked on to navigate to the pattern of interest.
Re: Storage location for XPath/XQuery Builder Favorites
What exact engine are you using in the XPath/XQuery builder (selected in its toolbar) to run the query?
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
-
- Posts: 72
- Joined: Thu Mar 26, 2015 4:57 pm
Re: Storage location for XPath/XQuery Builder Favorites
Post by steve.cuzner »
XPath 2.0
We're also considering using a schematron test with the xpath which would allow for quick fixes. Probably the best way to go.
Steve
We're also considering using a schematron test with the xpath which would allow for quick fixes. Probably the best way to go.
Steve
Re: Storage location for XPath/XQuery Builder Favorites
Hi,
If you're using XPath (not XQuery) I see how you would need the list from the results panel.
Schematron quick fixes are probably the best solution in this case.
Regards,
Adrian
If you're using XPath (not XQuery) I see how you would need the list from the results panel.
Schematron quick fixes are probably the best solution in this case.
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
Return to “SDK-API, Frameworks - Document Types”
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