This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Using XPath expressions in modes
- To: Oliver Becker <obecker at informatik dot hu-berlin dot de>
- Subject: Re: [xsl] Using XPath expressions in modes
- From: Jeni Tennison <mail at jenitennison dot com>
- Date: Wed, 25 Apr 2001 10:49:53 +0100
- CC: xsl-list at lists dot mulberrytech dot com
- Organization: Jeni Tennison Consulting Ltd
- References: <200104250734.JAA25417@mail.informatik.hu-berlin.de>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Oliver,
> So the problem is: if the included stylesheet uses modes to process
> the input, my templates wont be used. I have no way to find out, for
> which modes I need to provide my additional templates, except I look
> into the stylesheet code.
>
> Any ideas?
Afraid not - you have to look in the stylesheet.
But it does have implications for people writing utility stylesheets
(i.e. ones that you include or import into yours) that use modes -
they should either document the stylesheet, listing the modes that
they use and when, or they should add default templates that give you
messages when 'unknown' nodes are matched in that particular node.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list