Re: [xsl] Producing a Table of Contents

Subject: Re: [xsl] Producing a Table of Contents
From: Julian Voelcker <asp@xxxxxxx>
Date: Fri, 26 Mar 2004 10:58:17 GMT
Hi,

On Fri, 26 Mar 2004 03:43:48 -0700, M. David Peterson wrote:
> Using the mode attribute of apply-templates allows you to select
> particular elements and transform them different for each type of mode.
> Using "//hi" will select all h1 elements from your source.  Using
> mode="toc" allows you to match each of these elements to the template
> with the match attribute set to "h1" and the mode set to "toc".

Many thanks of for that.

Can the technique be applied in an XSLT document to search within itself 
rather than a source XML file?
-- 
Cheers,

Julian Voelcker
United Kingdom

Current Thread