Nicolai Jensen wrote:
> Hello,
> Usualle people here are really helpful, so I will try this question.

I know how to do this in DirXML Script.

> I need to process a xslt stylesheet function, a number of times, based on
> a enumerated GCV.

How about a list GCV instead? A list GCV if treated in a nodeset
context, is a nodeset. If treated in a string context, is flattened to
a comma separated string.

> I need to extract the value of the structured values in there one by one,
> and use them as parameters in the xslt function.
> I really cannot seem to get it to work
> I have tried like:
> <xsl:for-each select="'~MYGCV~/enum-choice">
> <xsl:variable name="myval" select="."></xsl:variable>
> <xsl:message>$myval<xsl:message>
> <xsl:for-each>

In which case, this might work better:
<xsl:for-each select="'~MYGCV~">
<xsl:variable name="myval" select="."></xsl:variable>

But I am not an XSLT expert.

> That does not work. Can anyone tell me how I should do it?