Chris --

I have tried this with both XalanJ 2.2.D6 and the latest CVS build and
found no problems with either.  If you are able to create a reproducible
problem, please report this on bugzilla at
http://nagoya.apache.org/bugzilla/ and attach your complete XML and XSLT
or actual working files that demonstrate the problem.

Thanks,
Gary

Christopher Blunck wrote:
> 
> 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