[dokusite] NBWZ Printversion and modes
"Roger Fischer" <[email protected]> Tue, 17 Dec 2002 23:54:51 +0100
| Newsgroups | gmane.comp.cms.bitflux.general.german |
|---|---|
| Message-ID | <[email protected]> |
Hi Ein einfaches Beispiel bez. Printversion: http://iht.com/cgi-bin/generic.cgi?template=articleprint.tmplh&ArticleId=799 28 In diesem Zusammenhang könnte man am Donnerstag auch noch "mode" diskutieren. Denn wir verwenden hier eigentlich nichts anderes als mode="print". Siehe dazu: http://www.w3.org/TR/xslt#modes 5.7 Modes Modes allow an element to be processed multiple times, each time producing a different result. Both xsl:template and xsl:apply-templates have an optional mode attribute. The value of the mode attribute is a QName, which is expanded as described in [2.4 Qualified Names]. If xsl:template does not have a match attribute, it must not have a mode attribute. If an xsl:apply-templates element has a mode attribute, then it applies only to those template rules from xsl:template elements that have a mode attribute with the same value; if an xsl:apply-templates element does not have a mode attribute, then it applies only to those template rules from xsl:template elements that do not have a mode attribute. Gruss Roger -- roger fischer | bitflux GmbH | schöneggstrasse 5 | ch-8004 zürich tel +41 1 240 56 72 | mobil +41 78 607 75 06 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] OSCOM - Open Source Content Management http://www.oscom.org