[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Defining variables as sequence of strings


Subject: Re: [xsl] Defining variables as sequence of strings
From: "Joseph L. Casale jcasale@xxxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 May 2015 17:48:58 -0000

>   <xsl:perform-sort select="distinct-values($vTypes)">
>     <xsl:sort select="."/>
>   </xsl:perform-sort>

Dimitre,
That was incredibly insightful. It also illustrated a few syntax and usage
points I hadn't known.

One question though, in my effort to refactor and avoid the for-each
constructs, how do you output the results of the sequence contained
within $vTypes utilizing some type formatting while inside a perform-sort.
For example, I want each element on a line of its own, contained within
some other text:

......Some other text (a) More text....
......Some other text (b) More text....
......Some other text (c) More text....

etc?

Again,
Thanks a lot for the great detail.
jlc


Current Thread