This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: [docbook-apps] Request for help with XSL: template for proces sing instruction not getting called
- From: Jeff Beal <jeff dot beal at ansys dot com>
- To: 'Joerg Heinicke' <joerg dot heinicke at gmx dot de>, docbook-apps at lists dot oasis-open dot org
- Cc: Jeff Beal <jeff dot beal at ansys dot com>, 'Taro Ikai' <tikai at ABINITIO dot COM>
- Date: Fri, 3 Oct 2003 08:48:37 -0400
- 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.
>
>
>
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.