Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: for-each problem

From: juergen <bbembi_de@-----.-->
To: NULL
Date: 10/3/2005 11:44:00 AM
Thanks very much. now the for-each works.

but i still have one more problem:

i want to limit the for-each to a list of only the elements that have a certain posNr.
i want to do something like that:

<xsl:for-each select="$PosNums[starts-with(@posNr, "A1234")]">
   <xsl:if test="position() = 2">
     <xsl:text> more than once in list! </xsl:text>
   </xsl:if>
</xsl:for-each>

but that doesn't work.
i have in posNums a list of PosNr. now how can i tell the starts-with method what i want?
the @posNr in there must be wrong.

thanks very much.

greetings juergen


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent