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

Re: [xsl] Generate an index using multiple input files and a master term file


Subject: Re: [xsl] Generate an index using multiple input files and a master term file
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 19 Jun 2008 09:23:16 +0100

> Is it possible to create a stylesheet that will automatically/dynamically
> generate an index by using a master term XML file that contains a list of
> all words that should be included in an index. Then running the stylesheet
> against multiple input files to determine if those input files contain any
> of the words defined in the master term XML file. If matches are found,
> then output a file containing a list/index of each found term, the title of
> the XML file that contained the term, and a link to that XML file
> containing the term?
>
> Sharon
> _______________________________
> Sharon Goldner Harris
> Knowledge Management Evangelist
> Ultimate Software Group

That's the funniest sig I've seen for a while...  :0)

Have a look at the collection() function in Saxon for processing an
unknown number of input files using a single transform.

This is one of those tasks would benefit from a transform calling an xquery...

-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


Current Thread
Keywords
xml