RE: [xsl] Need help for XSL beautifaction

Subject: RE: [xsl] Need help for XSL beautifaction
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 18 May 2006 08:38:44 +0100
> <!-- Define Text-Modules -->
>   <xsl:variable name="text-1">This is long text number 
> one.</xsl:variable>
>   <xsl:variable name="text-2">This is an other very long 
> text.</xsl:variable>
>   <xsl:variable name="text-3">This is my third text without 
> sense.</xsl:variable> ...

The answer to this is, don't use three variables, use one variable with an
internal XML structure. 

Unfortunately in XSLT 1.0 you need the node-set() extension to access the
internal structure using path expressions, but that problem disappears in
2.0.

Michael Kay
http://www.saxonica.com/

Current Thread