[XML4Lib] creating dynamic indices with XML, XSLT, and IIS

John Fitzgibbon jfitzgibbon at Galwaylibrary.ie
Thu Sep 14 11:36:55 EDT 2006


Hi,

We have put a number of articles on the web. We have also generated
three indices; one index is an index of place names, another is an index
of personal names, and the third is a keyword index. Index entries are
tagged in the document by use of the span element as follows

<span class="place"></span>
<span class="person"></span>
<span class="keyword"></span>

Each index consists of twenty six pages, one for each letter of the
alphabet. For example, when a person goes to the main page of the place
index, they can click on a letter. If he or she clicks on the letter P a
page called subject_p.html is displayed. This displays a list of place
names that begin with the letter P. Clicking on the place name brings up
a page displaying the documents which contain that place name.

The problem is that when we add a new article we have to update 26 X 3
documents. We need a more dynamic solution.

My idea is to place all the index terms in one large XML document. New
terms are simply appended to this document. I know how to use XSLT to
extract index terms from the HTML document that is being added and I
know how to use XSLT to append them to the XML document.

I will then use XSLT to retrieve the index from the XML document. For
example, when a person clicks on the letter P as before, a query string
like ?index=place&letter=P will be passed to the server. The server will
take this query string and pass two parameters to an XSLT document. The
parameters will be

<xsl:with-param name="index">place</xsl:with-param>
<xsl:with-param name="letter">P</xsl:with-param>

This XSLT document will extract the correct index terms from the XML
document (all place names beginning with the letter P), sort them, and
present them as an HTML page to the user.

My problem is that I would like to do this using IIS rather than Apache.
Is this possible? I have some knowledge of ASP if this will help.

Any advice would be most welcome.

Regards
John

John Fitzgibbon

p: 00 353 91 562471
f: 00 353 91 565039
w: http://www.galwaylibrary.ie 

******************************************************************* 
Tá eolas atá príobháideach agus rúnda sa ríomhphost seo 
agus aon iatán a ghabhann leis agus is leis an duine/na daoine
sin amháin a bhfuil siad seolta chucu a bhaineann siad. 
Mura seolaí thú, níl tú údaraithe an ríomhphost nó aon iatán 
a ghabhann leis a léamh, a chóipáil ná a úsáid. 
Má tá an ríomhphost seo faighte agat trí dhearmad, 
cuir an seoltóir ar an eolas thrí aischur ríomhphoist 
agus scrios ansin é le do thoil. 

This e-mail and any attachment contains information which is 
private and confidential and is intended for the addressee 
only. If you are not an addressee, you are not authorised 
to read, copy or use the e-mail or any attachment. 
If you have received this e-mail in error, please notify 
the sender by return e-mail and then destroy it. 
*********************************************************************


More information about the XML4Lib mailing list