tests/type/namespace/namespace-0911.xsl
author Michael Kay <mike@saxonica.com>
Fri, 14 Dec 2018 23:38:22 +0000
changeset 1930 c4dff19ec90a
permissions -rw-r--r--
Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
1930
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     1
<?xml version="1.0"?> 
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     2
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     3
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     4
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     5
  <!-- PURPOSE: Check that exclude-result-prefixes applies to URIs, not prefixes -->
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     6
  
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     7
  <xsl:template name="main">
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     8
    <alpha xmlns:a="a.uri" xmlns:b="b.uri" xmlns:c="c.uri" xsl:exclude-result-prefixes="a c">
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents:
diff changeset
     9
      <beta xmlns:a="c.uri" xmlns:b="d.uri" xmlns:c="e.uri" xsl:exclude-result-prefixes="b"/>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    10
    </alpha>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    11
  </xsl:template>
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    12
c4dff19ec90a Test that xsl:exclude-result-prefixes applies to URIs, not to prefixes
Michael Kay <mike@saxonica.com>
parents:
diff changeset
    13
</xsl:stylesheet>