[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Site Check

Subject: RE: Site Check
From: "bryan" <bry@xxxxxxxxxx>
Date: Mon, 15 Jul 2002 11:57:10 +0200
abcdefghijklmno
>How 'bout a quick site check on http://www.ballsome.com
works fine although I noticed the following things:

 the mouseovers on the menu at the second level will show an area even
if there is no content. You have a lot of xsl:for-each's in your
stylesheet so I didn't want to try and debug, but it looks to me that
probably the  <xsl:for-each select="article">

LOOK HERE--><xsl:if test="position()&lt;=3">
...</xsl:if>

<xsl:if test="count(article)>3">
<a href="{concat('/',
translate(../category_name,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmno
pqrstuvwxyz'), '/',
translate(../category_name,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmno
pqrstuvwxyz'), '.xml')}">more...</a>

</xsl:if>
</xsl:for-each>
is to blame cause the count(article)>3 is working fine, i.e you're
getting the word more, no doubt the position() of your articles is not
less than 3?



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.