← Prev in month ← Prev in thread
Next in thread → Next in month →

RE: [docbook-apps] Request for help with XSL: template for proces sing instruction not getting called

From
Jeff Beal <>
Date
2003-10-03T12:47:14+00:00
ID
Thread
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:]
> Sent: Thursday, October 02, 2003 8:06 PM
> To: 
> 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:]
> >>
> >>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 
> .
> 
> 
>
← Prev in month ← Prev in thread
Next in thread → Next in month →