[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Hi everybody-
Thanks to everybody as I got the help in the past from here only whenever I stuck. At this movement I have no clue how to do below problem, which have extraction, sorting, data moving/placing and linking.
Below is the summay of the tasks
1. Generate a index after end of the chapter
2. Index should be in alphabatic order
4. Each entry should be linked within the body.
<div class="index">
<div>
<span class="primary">Computers</span>
<div>
<span class="secondary">state in education <a href="#idx1">2</a>, <a href="#idx5">4</span>
</div>
</div>
<div><span class="primary">Newsgroups. [see <a href="#idx9">Usenet</a>]</span>
</div>
<div>
<span class="primary">Staff development, and technology implementation <a href="#idx6">4</a></span>
</div>
<div>
<span class="primary">Teachers</span>
<div>
<span class="secondary">training <a href="#idx7">4</a></span>
</div>
</div>
<div>
<span class="primary">Technology competent <a href="#idx2">2</span>
</div>
<div>
<span class="primary">Technology expenditures <a href="#idx3">3</a>, <a href="#idx8">4</a></span>
</div>
<div>
<span class="primary">Usenet <a href="#idx9">4</a>, <a href="#idx10">5</a></span>
<div>
<span class="secondary">index of newsgroups <a href="#idx10">5</a></span>
</div>
</div>
</div>
[xsl] Book auto index generation by xsl
Subject: [xsl] Book auto index generation by xsl From: "J. S. Rawat" <jrawat@xxxxxxxxxxxxxx> Date: Mon, 29 Oct 2007 16:00:56 +0530 |
Hi everybody-
Thanks to everybody as I got the help in the past from here only whenever I stuck. At this movement I have no clue how to do below problem, which have extraction, sorting, data moving/placing and linking.
Below is the summay of the tasks
1. Generate a index after end of the chapter
2. Index should be in alphabatic order
4. Each entry should be linked within the body.
<!--INPUT--> <chapter> <title>Computers and Technology in Education</title> <sec1><p>Very early...</p>
<?docpage num="2"?> <indexterm id="idx1"> <?indexkey C?> <?primarykey Computers?> <primary>Computers</primary> <secondary>state in education</secondary> </indexterm> <indexterm id="idx2"> <?indexkey T?> <?primarykey Technology competent?> <primary>Technology competent</primary> </indexterm> <p>Very early...</p>
<!--OUTPUT--> <?docpage num="3"?> <indexterm id="idx3"> <?indexkey T?> <?primarykey Technology expenditures?> <primary>Technology expenditures</primary> </indexterm> <indexterm id="idx4"> <?indexkey N?> <?primarykey Newsgroups.?> <primary>Newsgroups.</primary> <see><link linkend="idx9">Usenet</link></see> </indexterm> <p>Did something go wrong</p>
<?docpage num="4"?> <indexterm id="idx5"> <primary>Computers</primary> <secondary>state in education</secondary> </indexterm> <indexterm id="idx6"> <?indexkey S?> <?primarykey Staff development, and technology implementation?> <primary>Staff development, and technology implementation</primary> </indexterm> <indexterm id="idx7"> <?indexkey T?> <?primarykey Teachers?> <?secondarykey TRAINING?> <primary>Teachers</primary> <secondary>training</secondary> </indexterm> <indexterm id="idx8"> <primary>Technology expenditures</primary> </indexterm> <indexterm id="idx9"> <?indexkey U?> <?primarykey Usenet?> <primary>Usenet</primary> </indexterm>
<?docpage num="5"?> <indexterm id="idx10"> <?indexkey U?> <?primarykey Usenet?> <?secondarykey INDEX OF NEWSGROUPS?> <primary>Usenet</primary> <secondary>index of newsgroups</secondary> </indexterm> <p>Schools have responded</p> </sec1> </chap>
<div class="index">
<div>
<span class="primary">Computers</span>
<div>
<span class="secondary">state in education <a href="#idx1">2</a>, <a href="#idx5">4</span>
</div>
</div>
<div><span class="primary">Newsgroups. [see <a href="#idx9">Usenet</a>]</span>
</div>
<div>
<span class="primary">Staff development, and technology implementation <a href="#idx6">4</a></span>
</div>
<div>
<span class="primary">Teachers</span>
<div>
<span class="secondary">training <a href="#idx7">4</a></span>
</div>
</div>
<div>
<span class="primary">Technology competent <a href="#idx2">2</span>
</div>
<div>
<span class="primary">Technology expenditures <a href="#idx3">3</a>, <a href="#idx8">4</a></span>
</div>
<div>
<span class="primary">Usenet <a href="#idx9">4</a>, <a href="#idx10">5</a></span>
<div>
<span class="secondary">index of newsgroups <a href="#idx10">5</a></span>
</div>
</div>
</div>
Thanks and Regards, ...JSR
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] find day of week from dat, David Carlisle | Thread | Re: [xsl] Book auto index generatio, J. S. Rawat |
Re: [xsl] Calling subdocuments with, David Carlisle | Date | Re: [xsl] Book auto index generatio, J. S. Rawat |
Month |