- From: Ian Jacobs <ij@w3.org>
- Date: Thu, 06 Jan 2000 13:03:50 -0500
- To: w3c-wai-ua@w3.org
Hello, 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": <BLOCKQUOTE> The following example would number H4 elements in HTML with a three-part label: <xsl:template match="H4"> <fo:block> <xsl:number level="any" from="H1" count="H2"/> <xsl:text>.</xsl:text> <xsl:number level="any" from="H2" count="H3"/> <xsl:text>.</xsl:text> <xsl:number level="any" from="H3" count="H4"/> <xsl:text> </xsl:text> <xsl:apply-templates/> </fo:block> </xsl:template> </BLOCKQUOTE> 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