Name

<xsl:namespace-alias>

Synopsis

The <xsl:namespace-alias> element declares that one namespace URI (prefix1) in the style sheet should be replaced by a different namespace URI (prefix2) in the result tree. Either attribute value can be set to #default to indicate that the nonprefixed default namespace is to be used.

<xsl:namespace-alias 
   stylesheet-prefix="prefix1" 
   result-prefix="prefix2"/>

Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.