Subject: RE: Generating Index pages
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 4 Aug 2006 08:57:32 +0100
|
You need to give some indication of the output you are trying to produce.
How are you producing the PDF? Via XSL-FO, or some other way? It's useful to
show the output you want in XML terms, so that the problem is a pure XSLT
problem.
It's also useful to explain where you are hitting problems. Show your
attempt to solve the problem, even if it doesn't work: it gives us a good
clue as to what you know already and what you still need to learn.
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: Shailesh Shinde [mailto:shailesh@xxxxxxxxxxxx]
> Sent: 04 August 2006 08:31
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Generating Index pages
>
> Hi All,
>
> I have a requirement to generate index pages in pdf....
> Below is the Inputxml which contains indexes like......
> <division>
> <topic id="d0e37466">
> <title>Index</title>
> <body>
> <indexterm ref="d0e1155" div="1">
> <primary>AC adaptor</primary>
> </indexterm>
> <indexterm ref="d0e5920" div="3">
> <primary>AC adaptor</primary>
> <secondary>connecting</secondary>
> </indexterm>
> <indexterm ref="d0e1073" div="1">
> <primary>Battery pack</primary>
> </indexterm>
> <indexterm ref="d0e4522" div="2">
> <primary>Battery pack</primary>
> </indexterm>
> <indexterm ref="d0e17995" div="8">
> <primary>Battery pack</primary>
> <secondary>additional</secondary>
> </indexterm>
> <indexterm ref="d0e13611" div="6">
> <primary>Battery</primary>
> <secondary>charging</secondary>
> </indexterm>
> <indexterm ref="d0e4986" div="2">
> <primary>Battery</primary>
> <secondary>indicator</secondary>
> </indexterm>
> <indexterm ref="d0e13314" div="6">
> <primary>Battery</primary>
> <secondary>real time clock</secondary>
> </indexterm>
> <indexterm ref="d0e13391" div="6">
> <primary>Battery</primary>
> <secondary>safety precautions</secondary> </indexterm>
> <indexterm ref="d0e11747" div="5"> <primary>Battery</primary>
> <secondary>types</secondary> </indexterm> <indexterm
> ref="d0e23008" div="9"> <primary>Bluetooth</primary>
> <secondary>problems</secondary> </indexterm> <indexterm
> ref="d0e23084" div="9"> <primary>Bluetooth</primary>
> <secondary>problems</secondary> </indexterm>
> </body>
> </topic>
> </division>
>
> Can you please provide ant references or examples for the same.
>
> Thanks,
> Shailesh
|