-----Original Message-----
From: David Carlisle
> would make my life a lot more awkward...
I think in the long run relying on the position of the
templates in the file will make your life harder, almost
every otherfeature in xslt is designed so that the top
level constructs in a stylesheet may be placed in any
order, re-arranged by code beautifiers, etc, When something
goes wrong (as in the OP's case) it is much harder to see
which template is being applied.
Of course in the usual case you write templates first
without priority but if you get a warning of a template
conflict I think it's always good practice to make a
concious decision about which one you want to win and then
give that one a high priority.
Which is one of my reasons for preferring Saxon?
I think it has the clearest and most explicit warnings
of all the processors I've tried.
Like Geert, I need to be told when something is wrong
before I'll fix it :-)
regards DaveP
--
DISCLAIMER:
NOTICE: The information contained in this email and any attachments is
confidential and may be privileged. If you are not the intended
recipient you should not use, disclose, distribute or copy any of the
content of it or of any attachment; you are requested to notify the
sender immediately of your receipt of the email and then to delete it
and any attachments from your system.
RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants. However, it
cannot accept any responsibility for any such which are transmitted.
We therefore recommend you scan all attachments.
Please note that the statements and views expressed in this email and
any attachments are those of the author and do not necessarily represent
those of RNIB.
RNIB Registered Charity Number: 226227
Website: http://www.rnib.org.uk
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--