Uses XQuery expression to extract portions of XML text into new FME features.
This parameter identifies the type of the XQuery to be executed. The possible values each correspond to ways of specifying the XQuery. It can be
This parameter identifies either an attribute that contains an XML document (XML Attribute), or specifies a file that contains an XML document (XML File). You can set this parameter to None (file is specified in query) if the XQuery parameter above refers to an XML file. If this parameter is set, the context document for the query will be set to the value of the parameter (either as a file or a string, as appropriate).
If the XML document is loaded from an attribute, the Remove Source XML Attribute parameter can be set to remove the XML document after the query has been processed.
The Write XML Header parameter specifies whether or not the XML header should be written into the results of the XQuery. Note that for UNICODE files, the Byte Order Mark (BOM) is not written, and should be added by an additional process if desired.
This parameter determines the attribute to which the XQuery results will be written. It is used only when the XML document is an attribute.
For every element in the result set, a feature will be output the QUERY_RESULTS port with the value of the result set to the attribute specified by this parameter.
If this attribute is set, the text of the query which produced each result will be written to the attribute specified. The default is _source_query.
FME provides several functions that can be used within XQuery scripts. These functions allow XQuery scripts to access and manipulate feature attribute values. Currently, there are no functions that allow the manipulation of feature geometry.
About Transformer Parameter Options
FME Professional edition and above
Search for samples and information about this transformer on FMEpedia.