[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 processing 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]