[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How to count with MSXSL
I'm working on a project that uses MSXML 2 and the Microsoft page renderer. I'm trying to figure out how to count inside the XSL to determine the child number. I've tried position() but it's not supported. Is there some other way to do this? Basically I need to know how many nodes are in the XML file and which node is currently being processed. This is for an events calendar. The server is returning and XML file with <events> and I need to know how many <events> were return, and then display the first five. Any help would be appreciated. I am very new to XSL and I have a deadline coming up. __________________________________________________ Do You Yahoo!? Yahoo! Photos -- now, 100 FREE prints! http://photos.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|