Hi,
you cannot add
<?xml version="1.0" endoing="UTF-8"?>
directly to the text of an XQuery, but you can force XQuery to return
this by specifying
{?serialization method="xml"?}
as the first line of your XQuery. Please note that the result of the XQuery expression must be well-formed XML then!
What do you mean by indent parameter? Indentation is not a concept of XML. You can only indent a repesentation of XML, e.g. by using a style sheet (see e.g. section SerializationSpec of the Tamino documentation)
regards
harald
#Tamino#API-Management#webMethods