Re: [xsl] TOC indents in XHTML?

Subject: Re: [xsl] TOC indents in XHTML?
From: "Gustaf Liljegren" <gustaf.liljegren@xxxxxx>
Date: Tue, 27 Nov 2001 17:10:59 +0100
From: "David Carlisle" <davidc@xxxxxxxxx>:

Thanks to all who sent suggestions on this.

> it would probably be better not to use non breaking space and just
> indent with nested lists and css styling, but if you want to use nbsp

If you mean using CSS2 selectors, marker-offset and other CSS2 features, I'd
like to, but IE must become better on CSS2 first.

> <xsl:template name="toc-indent">
>   <xsl:for-each select="ancestor::part">&#160;</xsl:for-each>
> </xsl:template>

I'm very impressed. This is indeed both smart and beautiful. :-)

Gustaf



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread