Subject: Re: [xsl] mode From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 14 Apr 2011 15:34:55 -0400 |
I am just questioning about modes. The below contrived xsl snippet sets a mode if an element has a specific attribute.
For elements that have only one translation (and always will), I look for mode #all. Since I am new to xsl, I have found that #all seems to be discouraged.
However, what would be the pattern than if I were to say have several modes, and several dozen elements which are always the same regardless of mode? Example or link to xsl is fine.
http://www.w3.org/TR/2007/REC-xslt20-20070123/#element-template http://www.w3.org/TR/2007/REC-xslt20-20070123/#modes
-- Contact us for world-wide XML consulting & instructor-led training Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] mode, Paul M | Thread | Re: [xsl] mode, Andrew Welch |
[xsl] mode, Paul M | Date | Re: [xsl] mode, Andrew Welch |
Month |