Subject: Re: [xsl] Need help for XSL beautifaction From: Christian Haase <haase@xxxxxxxxxxx> Date: Thu, 18 May 2006 21:11:20 +0200 |
Many greetings, Christian
<!-- 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/
------------------------------------- Christian Haase, Hans-Mertens-Str. 37 30655 Hannover, GERMANY Tel: +49-511-697916 / +49-178-7772617 Fax: +49-511-3948280 ICQ: 307628315 -------------------------------------
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Need help for XSL beautif, Michael Kay | Thread | RE: [xsl] Need help for XSL beautif, Michael Kay |
RE: [xsl] Collect word count with x, Karen McAdams | Date | Re: [xsl] Fixed value only once in , Mattias Pirmann |
Month |