[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: URGENT: Please help
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 26 Apr 2001 09:49:04 +0100
> 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


Current Thread
  • URGENT: Please help
    • Ram Gande - Wed, 25 Apr 2001 20:21:40 -0400 (EDT)
      • Michael Kay - Thu, 26 Apr 2001 05:37:59 -0400 (EDT) <=
      • <Possible follow-ups>
      • Ram Gande - Thu, 26 Apr 2001 13:20:57 -0400 (EDT)
      • Clapham, Paul - Thu, 26 Apr 2001 13:40:35 -0400 (EDT)
      • Ram Gande - Thu, 26 Apr 2001 15:24:56 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member