Please check out the following scenario where the XQuery DSC is demonstrated Transforming XML Documents.
Component: com.avoka.livecycle.XQuery 1.0
XQuery Service
XQuery: Enables querying of the contents of XML document/s to produce a new XML document.
Operation Title: Perform XQuery - Single Doc (xQuery)
Perform XQuery - Single Doc: Query a single input XML document, producing an XML result document.
| Input Parameter | Type | Description | Editor |
|---|---|---|---|
| Input Xml Variable | String | The input XML document to be queried. | |
| XQuery | String | The XQuery command that is applied to the input XML. | |
| Omit XML Declaration | boolean | Whether or not the XML pragma declaration should appear at the start of the output result. | |
| Indent resultant XML. | boolean | Whether or not to indent, or pretty print, the XQuery output. | |
| Pull namespace declarations out of process properties. | boolean | Whether or not to reuse namepace declations (i.e. xmlns:me="www.me.com") out of the process properties. |
| Output Parameter | Type | Description |
|---|---|---|
| Output XML Location | java.lang.String | This is the string-formatted XML resulting from executing the XQuery. Please specify the process variable which should store the output. |
Operation Title: Perform XQuery - Merge Docs (xQueryMerge)
Perform XQuery - Merge Docs: Query/Merge any XML-formatted Strings, XfaForms, and XML variables in the process instance data, producing a XML result document; possibly merging multiple input sources together.
| Input Parameter | Type | Description | Editor |
|---|---|---|---|
| XQuery | String | The XQuery command that is applied to the input XML. | |
| Omit XML Declaration | boolean | Whether or not the XML pragma declaration should appear at the start of the output result. | |
| Indent resultant XML. | boolean | Whether or not to indent, or pretty print, the XQuery output. | |
| Pull namespace declarations out of process properties. | boolean | Whether or not to reuse namepace declations (i.e. xmlns:me="www.me.com") out of the process properties. |
| Output Parameter | Type | Description |
|---|---|---|
| Output XML Location | java.lang.String | This is the string-formatted XML resulting from executing the XQuery. Please specify the process variable which should store the output. |
For how to configure license information for this component service - XQuery, please click on the following link:
Avoka LiveCycle ES Component License Configuration
Please send us any questions or comments on this documentation regarding XQuery by clicking on the following link:
Feedback
Licence Configuration:
| Parameter | Type | Description |
|---|---|---|
| License Key | java.lang.String | The license key provided to you when you purchased a production license for this Solution Component. If blank this Solution Component will assume evaluation mode and allow 100 invocations or 6 hours up-time. |
| License Organisation | java.lang.String | The organization name you provided to Avoka for which you are licensing this Solution Component. |
Add Comment