Subject: [xsl] copy vs. copy-of performance in xsltproc From: "Werner, Wolfgang" <mail@xxxxxxxxxxxxxxxxxxx> Date: Tue, 05 Oct 2004 10:44:57 +0200 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
has any of you experience regarding the performance of copy compared to copy-of in xsltproc? Right now I'm copying some parts of the source tree completly while filtering some other parts. I use the following template:
~ <xsl:template match="/ | @* | node()"> ~ <xsl:copy> ~ <xsl:apply-templates select="@* | node()"/> ~ </xsl:copy> ~ </xsl:template>
~ <xsl:template match='dontfilterme'> ~ <xsl:copy-of select='.'/> ~ </xsl:template>
or the default template above? How much does the complexity of the copied element influence the speed?
Any pointers appreciated, Wolfgang -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBYl8JqjaicDyx8o8RAtBrAJ91d6Xl6aWTPlx237bBzlsvAP4/ZgCfYla/ UbqeRlsJgfxzdOZ9jLmDE4U= =/bpn -----END PGP SIGNATURE-----
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] [ANN] Stylus Studio 6 Adds ne, Ivan Pedruzzi | Thread | RE: [xsl] copy vs. copy-of performa, Michael Kay |
Re: [xsl] remove certain elements b, Ben Munat | Date | RE: [xsl] newbie - parameters with/, Ragulf Pickaxe |
Month |