xsl:namespace-alias

Causes the namespace URI to be changed in the output.

Format

<xsl:namespace-alias
               
  stylesheet-prefix = prefix | "#default"
               
  result-prefix = prefix | "#default" />
               

            

Description

Declares that one namespace URI is an alias for another namespace URI. When a literal namespace URI has been declared to be an alias for another namespace URI, then the namespace URI in the result tree is the namespace URI that the literal namespace URI is an alias for, instead of the literal namespace URI itself.

 
Free Stylus Studio XML Training:
W3C Member