Loading ...
Sorry, an error occurred while loading the content.

Re: [XSL-FO] Creating an alpha index with sub heads

Expand Messages
  • Jirka Kosek
    ... Basicly, you need to group your terms by their first letter, and then process all terms beginning with this letter. Search for XSLT grouping and you will
    Message 1 of 2 , Aug 31, 2006
    • 0 Attachment
      Carolyn wrote:
      > I'm trying to create an alpha index from a number of xml files which
      > is no problem but I need to get a sub heading in between each break of
      > alpha characters.
      >
      > A
      > Another part
      > Anything here
      >
      > B
      > Begin another part
      > Being here
      >
      > etc.

      Basicly, you need to group your terms by their first letter, and then
      process all terms beginning with this letter. Search for "XSLT grouping"
      and you will get plenty of examples how to implement grouping in XSLT.

      Jirka

      --
      ------------------------------------------------------------------
      Jirka Kosek e-mail: jirka@... http://www.kosek.cz
      ------------------------------------------------------------------
      Profesion�ln� �kolen� a poradenstv� v oblasti technologi� XML.
      Pod�vejte se na n�� nov� spu�t�n� web http://DocBook.cz
      Podrobn� p�ehled �kolen� http://xmlguru.cz/skoleni/
      ------------------------------------------------------------------
      Nejbli��� term�ny �kolen�:
      ** XSLT 23.-26.10.2006 ** XML sch�mata 13.-15.11.2006 **
      ** DocBook 11.-13.12.2006 ** XSL-FO 11.-12.12.2006 **
      ------------------------------------------------------------------
      http://xmlguru.cz Blog mostly about XML for English readers
      ------------------------------------------------------------------



      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.