Subject: RE: [xsl] How to apply templates to all child elements except a few From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Tue, 17 Oct 2006 20:00:15 +0100 |
> I want to write something like apply templates to all > elements except CHILD4. How do I do this? In XSLT 2.0: <xsl:apply-templates select="* except CHILD4"/> In 1.0, it's simplest to apply-templates to all elements, and have a no-op template <xsl:template match="CHILD4"/> (using a special mode if necessary) Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How to apply templates to all, rfd ewrew | Thread | RE: [xsl] How to apply templates to, cknell |
RE: [xsl] How to apply templates to, Brian Martinez | Date | [xsl] a simple RTF <> XML question, slacker hacker |
Month |