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

RE: Why doesn't <xsl:for-each select="*[position()&lt;

Subject: RE: Why doesn't <xsl:for-each select="*[position()&lt;last( )] work?
From: "Crowers, Steve" <scrowers@xxxxxxxxxxxx>
Date: Mon, 13 Aug 2001 10:08:50 -0400
xsl for each select position
I get the following outputs.

Xalan:

	Jeff/555-1234/555-4321/lightgrey&#13;
	David/383-1234/383-4321/lightblue&#13;
	Roger/888-1234/888-4321/lightyellow&#13;

MSXML:
	Jeff/555-1234/555-4321/lightgrey
	David/383-1234/383-4321/lightblue
	Roger/888-1234/888-4321/lightyellow

I'm not sure why this isn't working for you. It may be a bug in Cocoon's
position() function. I don't have Cocoon here, but you might want to try
playing around with the predicate and see.

Also, the <xsl:text>&#xD;&#xA;</xsl:text> node inserts
carriage-return/line-feed characters, which are usually stripped by a
browser, so <br/> is probably more appropriate for your environment.

hope this helps some...


-Steve Crowers 
 

"The good Lord sets definite limits on man's wisdom but sets no limits on
his stupidity -- and that's just not fair." --Konrad Adenauer, German
Chancellor 




 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.