RE: [xml-dev] RE: Declarative programming requires a different mindset

From
Hermann Stamm-Wilbrandt <>
To
Date
2010-03-25T19:40:07Z
ID
<>
Thread
RE: [xml-dev] RE: Declarative programming requires a different mindset
Roger,

you may want to have a look at the examples in chapter 5.1 from
Skonnard&Gudgin, Essential XML Quick Reference (free download):
http://www.theserverside.net/tt/books/addisonwesley/EssentialXML/index.tss

There you may find examples for exemplar-based, procedural and declarative
transformations.


Mit besten Gruessen / Best wishes,

Hermann Stamm-Wilbrandt
Developer, XML Compiler, L3
WebSphere DataPower SOA Appliances
----------------------------------------------------------------------
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschaeftsfuehrung: Dirk Wittkopp
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294


                                                                           
             "Costello, Roger                                              
             L."                                                           
             <[email protected]                                          To 
             rg>                       ""             
                                       <>             
             03/25/2010 05:32                                           cc 
             PM                                                            
                                                                   Subject 
                                       RE: [xml-dev] RE: Declarative       
                                       programming requires a different    
                                       mindset                             
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




> A clearer distinction is whether or not the program involves mutable
state variables.

Since XSLT variables don't vary, are all XSLT programs declarative?

Surely that's not the case.

Would someone give an example of XSLT code that is clearly imperative?

/Roger