Subject: Re: [xsl] Copy-per-default From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Wed, 20 Apr 2011 17:57:38 +0200 |
<xsl:template match="/d:book"> <!-- ignoring root, page-sequence etc for brevity --> <xsl:apply-templates /> </xsl:template>
<xsl:template match="d:chapter"> <xsl:apply-templates /> </xsl:template>
<xsl:template match="d:chapter/d:title"> <fo:block> ... ...</fo:block> </xsl:template>
Then for some reason the titleabbrev appears in the output even though I have not made any rule explicitly matching it. It is caught along with the title inside the apply-templates under d:chapter. I thought that this would not happen, unless I really added a matching template of some sort, for example an identity transform.
<xsl:template match="d:chapter"> <xsl:apply-templates select="d:title"/> </xsl:template>
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Copy-per-default, Fredrik Bengtsson | Thread | Re: [xsl] Copy-per-default, Brandon Ibach |
Re: Was: [xsl] mode and moved to Na, ac | Date | Re: [xsl] Copy-per-default, Brandon Ibach |
Month |