Template
names and mode names are not things that a stylesheet
normally manipulates
at run-time
Except that they are very useful for diagnostics.
An output file should be able to log its creation mechanism.
I regularly code a catch-all template match for unexpected elements.
It is tedious having to retype the template mode, and not uncommon
to have to debug a wrong diagnostic resulting from a lazy cut and paste.
Regards
Ed Willink
------------------------------------------------------------------------
E.D.Willink, Email:
mailto:EdWillink(_at_)iee(_dot_)org
Thales Research and Technology (UK) Ltd, Tel: +44 118 923 8278 (direct)
Worton Drive, or +44 118 986 8601 (ext 8278)
Worton Grange Business Park, Fax: +44 118 923 8399
Reading, RG2 0SB
ENGLAND http://www.computing.surrey.ac.uk/personal/pg/E.Willink
------------------------------------------------------------------------