Subject: Re: distinguishing templates From: "James Tauber" <jtauber@xxxxxxxxxxx> Date: Tue, 23 Mar 1999 17:52:24 +0800 |
> in some places in my style sheet, i'd like to do an apply-templates > on the foobar descendants and have the short form printed out, > in other places i'd like the long form printed out. Look at the "mode" attribute. It enables you to have different templates for the same pattern. Which template applies depends on the mode, which can be set by the apply-templates element. So in one place you can say "apply templates in 'short' mode" and in another "apply templates in 'long' mode". James XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: distinguishing templates, Pete Johnston | Thread | RE: distinguishing templates, Mark Birbeck |
small problem, Jayadeva Babu Gali | Date | Re: Defining XSL, Guy_Murphy |
Month |