MarkLogic XQuery Support
Issues related to W3C XQuery.
-
- Posts: 23
- Joined: Sat Aug 25, 2012 12:07 pm
MarkLogic XQuery Support
Does the Enterprise version of oXygen support 1.0-ml XQuery? Currently I get a Saxon Error:
err:XPST0003
It is a static error if an expression is not a valid instance of the grammar defined in A.1 EBNF.
err:XPST0003
It is a static error if an expression is not a valid instance of the grammar defined in A.1 EBNF.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: MarkLogic XQuery Support
Hi,
Saxon XQuery in general does not support XQuery 1.0-ml (XQuery 1.0 MarkLogic) syntax. You have to run that XQuery with the MarkLogic engine (only available in the Enterprise edition of Oxygen).
Assuming you have already configured a MarkLogic data source and connection in Oxygen, you have to also configure an XQuery transformation scenario that uses the MarkLogic connection as the XQuery engine:
1. With the XQuery as the current editor, use Document > Transformation > "Configure Transformation Scenario(s)" (there's a corresponding button in the toolbar)
2. In the "Configure Transformation Scenario(s)" dialog press "New" and select "XQuery transformation" to create a new scenario.
3. Give it an appropriate name, e.g. MarkLogic XQuery
4. You can leave the XML and XQuery URL fields to the default values proposed (${currentFileURL} for the XQuery).
5. From the Transformer combo box pick the MarkLogic connection.
6. Press OK to accept the changes and Apply associated to run it.
You can reuse this generic scenario for any other 1.0-ml XQuery scripts.
Regards,
Adrian
Saxon XQuery in general does not support XQuery 1.0-ml (XQuery 1.0 MarkLogic) syntax. You have to run that XQuery with the MarkLogic engine (only available in the Enterprise edition of Oxygen).
Assuming you have already configured a MarkLogic data source and connection in Oxygen, you have to also configure an XQuery transformation scenario that uses the MarkLogic connection as the XQuery engine:
1. With the XQuery as the current editor, use Document > Transformation > "Configure Transformation Scenario(s)" (there's a corresponding button in the toolbar)
2. In the "Configure Transformation Scenario(s)" dialog press "New" and select "XQuery transformation" to create a new scenario.
3. Give it an appropriate name, e.g. MarkLogic XQuery
4. You can leave the XML and XQuery URL fields to the default values proposed (${currentFileURL} for the XQuery).
5. From the Transformer combo box pick the MarkLogic connection.
6. Press OK to accept the changes and Apply associated to run it.
You can reuse this generic scenario for any other 1.0-ml XQuery scripts.
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)
- ↳ 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