Erzeugung von Knoten

Kopieren von Knoten

Quelldokument: <table width="100%" height="70%" border="1"></table>

<xsl:copy use-attribute-sets="as1">
  ...
</xsl:copy>
Ergebnis: <table width="128" height="64">...</table>


<xsl:copy-of select="div[@align = 'right']"/>
Ergebnis: Alle div-Elemente mit align="right" werden ins Zieldokument kopiert.