Use XML directive
The use xml directive is used to provide a XMLContext object at the surrounding frame for configuring the XML/XMLList data types.
const ctx : XMLContext = {
ignoreWhitespace: true,
}
{
use xml ctx
new XML("<a> </a>")
}
Syntax
-
UseXMLDirective :
-
use xml ListExpressionallowIn