Conditional numbering in DSSSL

Subject: Conditional numbering in DSSSL
From: Ralf Kempkens <kempkens@xxxxxxxxxxx>
Date: Mon, 27 Mar 2000 14:08:38 +0200
Hello,

I want to append the current number of a node to the output, but only if there 
is more than 1 node in total; any ideas how to achieve this?

I thought of something like

(cond ( (more-than-one-of-this-type?)
        (literal " (" (number->string (child-number (current-node))) ")"))
      (else (empty-sosofo)))


in XSL it's quite easy with "count(../node-type) &gt; 1"


Ralf


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


Current Thread