W3C home > Mailing lists > Public > w3c-wai-ua@w3.org > January to March 2000

Proposed XSL technique for generating text.

From: Ian Jacobs <ij@w3.org>
Date: Thu, 06 Jan 2000 13:03:50 -0500
Message-ID: <3874D906.4B61E7FA@w3.org>
To: w3c-wai-ua@w3.org

At the 10 December Austin ftf [1], I received an action
item to propose a technique for using XSL to transform content.

From the XSLT Recommendation, section "7.7 Numbering":

The following example would number H4 elements in HTML with a three-part

              <xsl:template match="H4">
                 <xsl:number level="any" from="H1" count="H2"/>
                 <xsl:number level="any" from="H2" count="H3"/>
                 <xsl:number level="any" from="H3" count="H4"/>
                 <xsl:text> </xsl:text>


This may be used to create contextual numbering for
headers, which helps orientation.

 - Ian
[1] http://www.w3.org/WAI/UA/1999/12/ftf-19991210
[2] http://www.w3.org/TR/xslt#number
Ian Jacobs (jacobs@w3.org)   http://www.w3.org/People/Jacobs
Tel/Fax:                     +1 212 684-1814
Cell:                        +1 917 450-8783
Received on Thursday, 6 January 2000 13:03:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:38:25 UTC