[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Request for help with XSL: template for proces sing instruction not getting called
You're right. There shouldn't be any overlap between these two templates. Which processor are you using? > -----Original Message----- > From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de] > Sent: Thursday, October 02, 2003 8:06 PM > To: docbook-apps@lists.oasis-open.org > Cc: Jeff Beal; 'Taro Ikai' > Subject: Re: [docbook-apps] Request for help with XSL: template for > proces sing instruction not getting called > > > But * (elements) and processing instructions do not overlap, so this > should not happen. Only if node() is used it's possible. Is > the template > matching on elements called *instead* of the original > template matching > on this specific processing instruction? If I don't miss anything it > will be a bug in the processor. > > Joerg > > Jeff Beal wrote: > > > The latter template must be in a stylesheet with higher > import precedence > > than the stylesheet containing the first template. You may > want to use > > <xsl:include/> instead of <xsl:import/> to assemble your > customization layer > > (still use <xsl:import/> to import the DocBook > stylesheets), but that may > > have additional implications. > > > > Jeff > > > >>-----Original Message----- > >>From: Taro Ikai [mailto:tikai@ABINITIO.COM] > >> > >>I have been using a custom template for: > >> > >> <xsl:template match="processing-instruction('dbhh')" > >>mode="hh-alias"> > >> > >>This template stopped getting called once I added another template: > >> > >> <xsl:template match="*" mode="hh-alias"> > >> > >>Any thoughts on why? > >> > >>-Taro > > > To unsubscribe from this list, send a post to > docbook-apps-unsubscribe@lists.oasis-open.org. > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]