-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27.11.2011 16:56, Lars Vogel wrote:

> <xsl:template match="@*|node()"> <xsl:apply-templates 
> select="@*|node()" /> </xsl:template>
> 

This should be:

<xsl:template match="@*|node()">
 <xsl:copy>
   <xsl:apply-templates select="@*|node()" />
 </xsl:copy>
</xsl:template>

It's sometimes considered flaw in XSLT design, that default action is
only copy text, not also elements. But XSLT 3.0 will provide some new
features around this :-)

- -- 
- ------------------------------------------------------------------
  Jirka Kosek      e-mail: [email protected]      http://xmlguru.cz
- ------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
- ------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
- ------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7SZQgACgkQzwmSw7n0dR6bXgCfbx2NKeLfY0q22y0WlSco8Hzd
77gAn21K32jbkO4dw99qnWG7U1cqZNh1
=6hwW
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to