? (child elements)

For XML values, the ? operator returns the XML fragment containing the child elements of @xml.

Syntax

@xml?tag

Input

Argument Type Description
tag
  • string
An XML value

Return Value

Returns an XML fragment containing the child elements of @xml where the tag is tag.

If you try to use the ? operator on something that is not an XML value, you will receive the following error message: Only list and XML types have _groups and thus can be searched with ?.