Changes

Jump to navigation Jump to search
515 bytes added ,  15:12, 14 April 2022
no edit summary
==xquery:parse==
 
{{Mark|Updated with Version 9.8:}} {{$query}} can additionally be of type {{Code|xs:anyURI}}.
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|xquery:parse|$query as xs:stringanyAtomicType|item()?}}<br />{{Func|xquery:parse|$query as xs:stringanyAtomicType, $options as map(*)?|item()?}}<br />
|-
| '''Summary'''
|Parses the specified {{Code|$query}} string as XQuery module and returns the resulting query plan. If the query is of type {{Code|xs:anyURI}}, the module located at this URI will be retrieved (a relative URI will be resolved against the static base URI). Otherwise, the input is expected to be of type {{Code|xs:string}}. The {{Code|$options}} parameter influences the output:
* {{Code|compile}}: additionally compiles the query after parsing it. By default, this option is {{Code|false}}.
* {{Code|plan}}: returns an XML representation of the internal query plan. By default, this option is {{Code|true}}. The naming of the expressions in the query plan may change over time
=Changelog=
 
;Version 9.8
 
* Deleted: xquery:parse-uri (merged with [[#xquery:parse|xquery:parse]])
* Updated: [[#xquery:parse|xquery:parse]]: {{$query}} can additionally be of type {{Code|xs:anyURI}}.
;Version 9.2
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu