xsl-list
[Top] [All Lists]

Re: [xsl] XSL questions

2006-06-01 11:27:47


              <xsl:for-each select=" ...">
                                      <xsl:if test="$current_id = 
@relatedPerson">
              
                                      </xsl:if>
                              </xsl:for-each>

don't do that, just select the nodes that you want

              <xsl:for-each select=" ...[$current_id = @relatedPerson]">
              </xsl:for-each>


David,

After changing the looping code style, the position returns the counter I need.

I still need to resolve the other two problems.

 
Thanks.

w.

-- 
_______________________________________________

Search for businesses by name, location, or phone number.  -Lycos Yellow Pages

http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>