Not sure if this is the correct place to submit this problem to (found a
work-a-round and thought I'd mention the problem to someone tho).

Here is my XSLT:

      <xsl:variable name="parameterClasses" select="id(./@type)"/>
      <xsl:for-each select="$parameterClasses">
        <xsl:variable name="parameterName" select="./@name"/>
        <a href="{$typeHTMLName}.html#{$parameterName}"> 
        <xsl:value-of select="$parameterName"/></a>
        <xsl:if test="not(position() = last())"> or <br/> 
        </xsl:if>                       
      </xsl:for-each>


Here is a snippit of XML that this operates on:

      <Parameter type="AttributeCategory" 
                 multiplicity="one" 
                 name="attributeCategory"/>



Originally what happens is the output is <a
href=blah.html#AttributeCategory"></a><a
href="blah.html#AttributeCategory"></a><a href=".........  (infinitely).

When I changed the not(position() = last()) to (postition() != last())
it magically worked.

Again, apologies if this is not the correct list to send to...



-Chris

Reply via email to