Re: [WSG] [XSL] apply-template on multiple modes?

2005-03-03 Thread Horst Gutmann
Matthew Cruickshank wrote: I'm pretty sure that only one template can be used at any given level. You can match elements and in in a separate template match attributes, but it always comes down to one template at one point. If you're trying to cascade the results of one to the next you'd need to

Re: [WSG] [XSL] apply-template on multiple modes?

2005-03-03 Thread Horst Gutmann
woric wrote: Are you sure you want use call-template? I have done a lot of XSLT and have only ever used call-template when calling a specific template, so your request sounds a little strange. Have you tried using apply-templates? I wanted to handle it exclusively in the XSLTs without the

Re: [WSG] [XSL] apply-template on multiple modes?

2005-03-02 Thread Matthew Cruickshank
Horst Gutmann wrote: Hi :-) I just read the part of the XSL specification about modi on templates but I have a probably quite stupid question: Is it somehow possible to call-template ALL templates, no matter what mode they have set? I'm pretty sure that only one template can be used at any given

Re: [WSG] [XSL] apply-template on multiple modes?

2005-03-02 Thread woric
Is it somehow possible to call-template ALL templates, no matter what mode they have set? Are you sure you want use call-template? I have done a lot of XSLT and have only ever used call-template when calling a specific template, so your request sounds a little strange. Have you tried using