Subject: Re: [xsl] Use of xsl:apply-templates exception with an element From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 25 Sep 2009 07:50:25 -0400 |
How about this?
<xsl:template match="blockquote"> <blockquote> <xsl:apply-templates select="*[name()!='attribution']"/> <xsl:apply-templates select="attribution"/> </blockquote> </xsl:template>
<xsl:template match="blockquote"> <blockquote> <xsl:apply-templates select="*[not(self::attribution)]"/> <xsl:apply-templates select="attribution"/> </blockquote> </xsl:template>
-- Upcoming hands-on code list, UBL, XSLT, XQuery and XSL-FO classes. Interested in other classes? http://www.CraneSoftwrights.com/s/i/ Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Use of xsl:apply-template, lee qm | Thread | Re: [xsl] Use of xsl:apply-template, ac |
RE: [xsl] Use of xsl:apply-template, srinivasan.p | Date | [xsl] Namespace problem, part two, Trevor Nicholls |
Month |