Node types

The syntax for the element() and attribute() node types is extended to allow constructs of the form

element(*:div)

or

attribute(myns:*, myns:someType)

This provides some useful extra functionality: for example in XSLT it is now possible to match all elements in a particular namespace having a particular type with a template rule that specifies match="element(my:*, my:type)". For details about the default priority of an XSLT pattern using node types, see the specification.