[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Creating a hierarchical table of contents using xsl:number


Subject: RE: [xsl] Creating a hierarchical table of contents using xsl:number
From: Hermann Stamm-Wilbrandt <STAMMW@xxxxxxxxxx>
Date: Wed, 17 Feb 2010 11:38:34 +0100

> (a) consult your favourite textbook (different styles suit different
people)
http://www.theserverside.net/tt/books/addisonwesley/EssentialXML/index.tss

I use this book since 3 years, and now it is even available for free
download.
Find xsl:number on pages 124-126 with examples.


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


                                                                           
             "Michael Kay"                                                 
             <mike@xxxxxxxxxxx                                             
             m>                                                         To 
                                       <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>   
             02/17/2010 11:06                                           cc 
             AM                                                            
                                                                   Subject 
                                       RE: [xsl] Creating a hierarchical   
             Please respond to         table of contents using xsl:number  
             xsl-list@xxxxxxxx                                             
              lberrytech.com                                               
                                                                           
                                                                           
                                                                           
                                                                           





>The rest is mine (developed from Googling xsl:number).

Interesting observation. I know the feeling - I've been stuck on some
problems involving Ant and C# the last couple of days, and Google is an
important tool in finding the answer. But I think there's a difference
between using Google when you're stuck, and using it as your first port of
call. There's an awful lot of garbage out there on the web, such as forum
postings answered by people whose own knowledge is very limited, and Google
indexes it all.

I'd say the right strategy for getting information about an XSLT language
construct is, in order:

(a) consult your favourite textbook (different styles suit different
people)

(b) go to the definitive language spec - many specs are quite readable once
you've learnt to find your way around them

(c) Google to see if someone else has had the same problem

(d) ask here


Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay


Current Thread
Keywords