XML functions
xf:attribute() / xxf:attribute()
xf:attribute(
$qname as xs:anyAtomicType
) as attribute()
xf:attribute(
$qname as xs:anyAtomicType,
$value as xs:anyAtomicType?
) as attribute()<!-- Add an attribute called "id" with a value of "first-name" to element "section" -->
<xf:insert
context="section"
origin="xf:attribute('id', 'first-name')"/><!-- Add an attribute called "id" with a value of "foo:bar" to element "section"
and resolve the namespaces on element $element -->
<xf:insert
context="section"
origin="xf:attribute(resolve-QName('foo:bar', $element), 'first-name')"/>xxf:call-xpl()
xxf:classes()
xxf:create-document()
xf:element() / xxf:element()
xxf:evaluate()
xxf:extract-document()
xxf:form-urlencode()
xxf:has-class()
xxf:mutable-document()
xxf:serialize()
xxf:sort()
Last updated