Subject: Re: [xsl] redirecting ouput to a different file? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 18 Aug 2011 21:01:32 -0400 |
So I can drop that <xsl:result-document href="DMC-{modelic}-{sdc}-{chapnum}-.... into all of my templates?
I hadn't found any complex examples in my searches, but was hoping it would work like what you describe.
<xsl:template match="avee"> <xsl:result-document href="DMC-{modelic}-{sdc}-{chapnum}-.... <xsl:apply-templates select="..."/> </xsl:result-document> </xsl:template>
<xsl:template match="whatever"> ... some stuff that goes into that result document... </xsl:template>
-- Contact us for world-wide XML consulting & instructor-led training Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] redirecting ouput to a di, Dan Vint | Thread | Re: [xsl] redirecting ouput to a di, Dan Vint |
Re: [xsl] redirecting ouput to a di, Dan Vint | Date | Re: [xsl] redirecting ouput to a di, Dan Vint |
Month |