Simple XSLT example

Done with saxon under unix:
 saxon -T -o simple-xpath-apply.html simple-xpath-apply.xml simple-xpath-apply.xsl >& simple-xpath-apply-trace.xml 
D.K.S.
[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[TXT]HEADER.html2004-12-08 18:05 480  
[TXT]Styledvd.css2005-12-06 12:09 15K 
[   ]animals.xml2007-02-18 23:54 375  
[   ]animals.xsl2007-02-19 00:07 944  
[TXT]cooking-html.css2007-02-11 22:56 21  
[   ]cooking.xml2007-02-11 22:47 2.5K 
[   ]cooking.xsl2007-02-12 00:16 2.2K 
[IMG]dolores_001.jpg2007-02-14 11:10 25K 
[IMG]dolores_002.jpg2007-02-14 11:10 28K 
[   ]douglas-recipes.dtd2007-02-18 22:26 915  
[   ]douglas-recipes.xml2007-02-18 22:43 2.2K 
[   ]douglas-recipes.xsl2007-02-18 23:04 1.5K 
[   ]dvd-simple.xml2005-12-06 14:40 2.7K 
[   ]dvd.dtd2005-12-06 12:09 2.5K 
[   ]dvd.xml2005-12-06 12:09 2.7K 
[   ]grille.xml2007-10-20 15:55 639  
[   ]grille.xsl2007-10-20 15:56 787  
[   ]grille2.xml2007-10-20 15:59 640  
[   ]grille2.xsl2007-10-20 16:04 846  
[   ]grille3.xml2007-10-20 16:06 640  
[   ]grille3.xsl2007-10-20 16:08 742  
[TXT]hello.html2007-02-11 20:47 304  
[   ]hello.xml2007-02-11 22:45 188  
[   ]hello.xsl2007-02-11 22:37 614  
[TXT]hello2.html2007-02-11 20:57 304  
[   ]hello2.xml2007-02-12 15:45 189  
[   ]hello2.xsl2007-02-12 15:46 572  
[TXT]images.html2009-04-14 12:19 1.0K 
[   ]images.xml2009-04-14 12:01 407  
[   ]images.xsl2009-04-14 12:19 1.3K 
[   ]ingredient-list.xml2007-02-18 23:22 249  
[   ]ingredient-list.xsl2007-02-18 23:57 1.2K 
[   ]ingredient-list2.xml2007-02-19 13:33 328  
[   ]ingredient-list2.xsl2007-02-19 13:46 1.6K 
[   ]participants.xml2007-02-19 00:41 766  
[   ]participants.xsl2007-02-19 00:45 1.1K 
[   ]rowset.xml2007-02-19 00:18 675  
[   ]rowset.xsl2007-02-19 00:19 1.2K 
[IMG]scrolls.jpg2007-02-14 11:12 42K 
[   ]simple-xpath-apply-trace.xml2004-12-08 18:16 4.7K 
[TXT]simple-xpath-apply.html2004-12-08 18:16 538  
[   ]simple-xpath-apply.xml2006-11-24 12:59 362  
[   ]simple-xpath-apply.xsl2004-12-08 18:16 872  
[   ]spaces.xml2005-06-24 18:58 174  
[   ]spaces.xsl2005-06-24 19:02 483  
[   ]titres-dvd-simple.xsl2005-12-06 16:15 1.0K 
[   ]titres-dvd.xsl2005-12-06 12:09 1.5K 
[   ]xhtml-sample-ns-numbered.xml2007-02-24 19:50 6.4K 
[   ]xhtml-sample-ns.xml2007-02-24 19:14 6.4K 
[   ]xpath-basics.xml2005-11-27 17:56 444  
[   ]xpath-basics.xsl2005-11-27 23:00 1.3K 
[   ]xpath-jungle-1.xsl2007-02-18 18:32 576  
[TXT]xpath-jungle-2.html2007-02-18 19:05 450  
[   ]xpath-jungle-2.xsl2007-02-18 23:50 747  
[TXT]xpath-jungle-3.html2007-02-18 20:57 316  
[   ]xpath-jungle-3.xsl2007-02-18 20:25 924  
[   ]xpath-jungle-4.xsl2007-02-18 20:40 478  
[   ]xpath-jungle-5.xsl2007-02-18 20:57 726  
[   ]xpath-jungle.xml2007-02-18 20:22 1.6K