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) > 1" Ralf DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: performance / sgml-parse, Peter Nilsson | Thread | Re: Conditional numbering in DSSSL, Holger Klawitter |
Re: Which elements can be changed i, Norman Walsh | Date | Re: Conditional numbering in DSSSL, Holger Klawitter |
Month |