Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > b3bdfe6d859a3d6920ff2c44b38e9a6f > files > 3080

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="copy-of" subpage=""/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: xsl:copy-of</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title" content="Saxonica: XSLT and XQuery Processing: xsl:copy-of"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>xsl:copy-of</h1>
      <p>The <code>xsl:copy-of</code> element copies the value obtained by evaluating
            the mandatory <code>select</code> attribute. It makes an exact copy.</p>
      <p>If this expression is a string, a number, or a boolean, the effect is the same as using
<code>xsl:sequence</code>.</p>
      <p>There is an optional attribute <code>copy-namespaces</code> whose value is "yes" or "no". The default
is "yes". This controls whether the in-scope namespaces of any element nodes copied by this instruction
are automatically copied to the result. If the value is "no", then namespaces will only be copied
if they are actually used in the names of elements or attributes. This allows you, for example, to
copy the contents of a SOAP message without copying the namespaces declared in its envelope.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="decimal-format.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>