This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
xsl - variable - array problem
- To: "xsl" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] xsl - variable - array problem
- From: "Partho Paul" <uk4u at rz dot uni-karlsruhe dot de>
- Date: Tue, 20 Mar 2001 11:59:37 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hello,
I want to do something like an array:
<xsl:variable name="array">
<word1>value1</word1>
<word2>value2</word2>
<word3>value3</word3>
......
</xsl:variable>
Now I want to acces each of the values individually and not in sequence:
I tried the following, which does not work:
<xsl:value-of selec="$array/*[local-name()='word3']"/>
Is there another possibility?
Partho
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list