Hi,
Since there is no counter in xsl that is, where I can increment a number ( independent) of nodes.
I am using xalan to generate the following code:
new String [] {"eAgchCodes_name0", "eAgchCodes_name1",…"eAgchCodes_name3"}
This is how the xml looks like:
<structMember name="eAgchCodes">
<description>One to four codes.
</description>
<sequence>
<long>
<range>
<min>0</min> <max>255</max>
</range>
</long>
<maxLength>4</maxLength>
</sequence>
</structMember>
In order to generate the names I need a counter to increase each time until all four strings have been generated.
Any ideas how I can do that with Xalan-Java? Extensions?
cheers,
//mikael