Am Tuesday, 05. August 2003 13:33, schrieb Tod Harter: > > Add the following to your xsl > > > > <xsl:template match="*"> > > <xsl:copy> > > <xsl:copy-of select="@*"/> > > <xsl:apply-templates/> > > </xsl:copy> > > </xsl:template> > > In this case the less verbose > > <xsl:template match="*"> > <xsl:copy-of select="."/> > </xsl:template> > > works just as well since it will still match everything.
Sorry, but this is wrong. With your experience, you surely know that copy-of copies a whole subtree, and nothing in your template continues processing, so you would bypass most other template rules. Just imagine a XML snippet <a><b><c/></b></a>. A match on "a" would work, a match on "c" would not, as the XSLT processor would never get that far. -- CU Joerg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
