Re: [PHP] About XSL Transformation

2007-07-29 Thread Andrew Ballard
> I tried to declare xsl:variable to increment within xsl:for-each, > however I ran in to some dead ends. Variables in XSL are not most programmers think of when they hear the term "variable". They are variable in the sense that they can be assigned a value at run-time, but they are really more li

Re: [PHP] About XSL Transformation

2007-07-29 Thread Kelvin Park
Nathan Nobbe wrote: this is basically a design decision on your part. since you are working w/ 2 programming languages, ie. php and xsl, you will need to determine how much logic is implemented in each language. i would recommend you devise a scheme early on in your application lifetime and s

Re: [PHP] About XSL Transformation

2007-07-29 Thread Nathan Nobbe
build or modify the xml w/ php. or pickup a book on xsl :) -nathan On 7/29/07, Kelvin Park <[EMAIL PROTECTED]> wrote: > > I have an XML file with 10 products with their registered dates(dates > when they were created). > My XSL code is set so that it sorts the products in descending > order(lates