[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: looping in increments
The process that works on this list is: 1) Describe the problem - Done 2) Provide a sample of the input - Waiting for this (a description is not the same as a sample) 3) Provide a sample of the output - Waiting for this 4) Show us what you have so far - Done Give us steps 2 and 3. -- Charles Knell cknell@xxxxxxxxxx - email -----Original Message----- From: Vijay Malgari <vmalgari@xxxxxxx> Sent: Mon, 11 Sep 2006 15:23:23 -0400 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: looping in increments cknell@xxxxxxxxxx wrote: >You cannot change a variable once it has been defined. That is why looping (in the manner of procedural languages) cannot be done in XSLT. > >To find out how to achieve the results you want, abandon any notion of "for x=1 to 30; ... loop;". > >Begin by telling us where the different integer values come from. > > > > Thank you Charles for your reply. After looking around a bit, I realised that I cannot use procedural style looping in XSLT. Coming back to the question, The Feature tag has multiple child elements and there will be multiple Feature siblings under a parent node. Having said that I want to get those attributes per feature inside a fo:block-container. Right now from the code that I have, If I remove the [1] beside Feature, I do get all the data but its one single row, hence, I want to iterate 1 through all the elements.... I am lost... Thank you, Vijay
|
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
|