|
Subject: Re: [xsl] numbering and document() From: "W. Eliot Kimber" <eliot@xxxxxxxxxx> Date: Fri, 22 Aug 2003 14:03:42 -0500 |
Felix,
The cleanest way to do this (IMO) would be to separate your processing into two steps: do the merge first, then style the resulting composite document. There may be other ways, but my guess they'd be ugly and hackish.
<xsl:template match="/">
<xsl:choose>
<xsl:when test="//include"><!-- Any inclusions in top-level doc? -->
<xsl:variable name="transcluded-doc">
<xsl:call-template name="do-transclusion"/>
</xsl:variable>
<xsl:apply-templates select="$transcluded-doc" mode="normal"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="/" mode="normal"/>
</xsl:otherwise>
</xsl:when>
</xsl:template><xsl:template match="/" mode="normal"> <xsl:apply-templates/> </xsl:template>
Eliot -- W. Eliot Kimber, eliot@xxxxxxxxxx Consultant, ISOGEN International
1016 La Posada Dr., Suite 240 Austin, TX 78752 Phone: 512.656.4139
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] numbering and document(), Wendell Piez | Thread | AW: [xsl] exclude result prefixes d, Markus Abt |
| RE: [xsl] exclude result prefixes d, David Carlisle | Date | [xsl] Select drop down, better gene, Mattison |
| Month |