Testing on attribute values in nested lists

Subject: Testing on attribute values in nested lists
From: Tomas Eriksson <ter@xxxxxxxxx>
Date: Fri, 23 Jan 1998 11:46:31 +0100
Hello,

Has anyone has experience with testing on attribute values in nested lists?

The SGML instance looks like this,

<list type="letter">
<listitem><text>.......</text></listitem>
<listitem><text>.......</text></listitem>
      <sub.list type="letter">
      <listitem><text>.......</text></listitem>
      <listitem><text>.......</text></listitem>
      </sub.list>
</list>

I would like to present the list in the following way,

A. ITEM1
B. ITEM2
    B.A ITEM1
    B.B ITEM2
    B.C ITEM 3

The problem is that I have not found any way to test which attribute value
that is set on the list element from the sub.list-listitem location or
store the list-listitem literal and place it in front of the
sublist-listitem. I have searched the DSSSL archive but have not found any
answer.


Another question I have is if someone solved the trick  to collect the
total number of pages and present the total number on the first page, e.g.
Page 1 (23).

Best Regards

Tomas


Tomas Eriksson                    Sörman Information AB
Tel: +46 470 72 70 00            Box 3130
Dir: +46 470 72 70 54            Deltavägen 3 
E-mail: ter@xxxxxxxxx         SE-350 43 Växjö
Fax: +46 470 466 22               Sweden
                                                http:\\www.sorman.se


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Testing on attribute values in nested lists
    • Tomas Eriksson - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id FAA24469Fri, 23 Jan 1998 05:50:44 -0500 (EST) <=
      • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id HAA25518Fri, 23 Jan 1998 07:50:29 -0500 (EST)
        • Tomas Eriksson - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id IAA26199Fri, 23 Jan 1998 08:26:06 -0500 (EST)
        • Matthias Clasen - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id IAA26710Fri, 23 Jan 1998 08:39:35 -0500 (EST)