RE: [xsl] Abstracting XSLT to generate multiple forms for the same data schema

Subject: RE: [xsl] Abstracting XSLT to generate multiple forms for the same data schema
From: cknell@xxxxxxxxxx
Date: Tue, 31 Jan 2006 14:38:19 -0500
The good news is that you most likely won't have to have "loops running through seperate nodes" (an elementary school teacher once told me to remember that there is "a rat" in separate).

The bad news is that your message isn't clear in regard to what you want. If what you want is to revisit a node or set of nodes in your XML document more than once with different output on each visit, investigate the "mode" attribute on <xsl:template> and <xsl:apply-templates>.

"invariables" actually make things simpler in that they eliminate a group of potential bugs caused by "side effects". All you have to do is un-learn loops and learn apply-templates instead.

Give us a chance to help by being clear in what you need.
-- 
Charles Knell
cknell@xxxxxxxxxx - email

Current Thread