Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > b3bdfe6d859a3d6920ff2c44b38e9a6f > files > 3106

saxon-manual-9.4.0.9-2.mga7.noarch.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="xsl-elements" page="namespace" subpage=""/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: xsl:namespace</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title" content="Saxonica: XSLT and XQuery Processing: xsl:namespace"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>xsl:namespace</h1>
      <p> The <code>xsl:namespace</code> instruction creates a namespace node. The <code>name</code>
attribute defines the name of the namespace node (that is, the namespace prefix) while the content of the
instruction defines the string value of the namespace node (that is, the namespace URI). The semantics
thus parallel <code>xsl:attribute</code> which creates attribute nodes.</p>
      <p>It is rarely necessary to use this instruction explicitly. The only cases it is needed are where the namespaces
to be included in the result document are not known statically, and are not present in the source document.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="namespace-alias.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>