This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]