[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: URGENT: Please help
I apologize for that rather stupid heading. People tend to do stupid things when they are desperate and against the wall. Anyway thanks for replying. I know the approach is a little hokey, but my idea was to create a list of Customers that I am searching from an LDAP via a Java function. All I want to do is to print that list in a HTML page as links. I eventually want to set a cookie when someone clicks on that link. So I just want to loop by recursively calling that function untill I get no more. I really appreciate if there is another way to do this loop. Thanks RK. -----Original Message----- From: Michael Kay [mailto:mhkay@xxxxxxxxxxxx] Sent: Thursday, April 26, 2001 1:49 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: URGENT: Please help > I am new to XSLT programming. we can tell, from... > counter = counter + 1 XSLT is a declarative language not a sequential one, so you can't "remember" values and use them "later", because those are sequential concepts. You need to change your thinking. I think it would be a good idea to describe the transformation you want to perform, because your code looks as if you've got the design approach all wrong, so it would be a mistake to tackle the problems at the coding level. (And it might be a good idea to abandon the "URGENT" from the heading. Trying to run before you have learnt to walk is not a good way of reaching your destination quickly.) Michael Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|