Name

<xsl:namespace-alias>

Synopsis

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

The xsl:namespace-alias element declares that one name- space URI (prefix1) in the stylesheet 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.

Get XML Pocket Reference, Second 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.