xsl-list
[Top] [All Lists]

RE: [xsl] Need help for XSL beautifaction

2006-05-18 00:39:28
<!-- 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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--