|
Subject: Re: node-list question 2 From: Joerg Wittenberger <Joerg.Wittenberger@xxxxxxxxx> Date: 04 May 1999 12:54:11 +0200 |
>>>>> "BP" == Bas Peters <bpeters@xxxxxx> writes:
BP> (strip-trailing-punctuation (data isbn)) seems to work, I have the
BP> idea that the values run through the strip trailing function, but
BP> the stripped values are not returned to the node list. Does any
BP> one have any suggestions? Here's the code:
(element MRCB
(let ((isbn (select-elements (descendants (current-node))
"MRCB020-a")))
(if (not (node-list-empty? isbn))
(strip-trailing-punctuation (data isbn))
(data isbn))
(make paragraph
This is not supposed to work at all. I understand you are intending to
modify the nodelist, aren't you? This is against the very idea of DSSSL.
You better create a mode "isbn" and define an element "MRCB0202-a"
within, which yields a suitable FO. Within that definition you use
the strip-trainling-punctuation.
/Jerry
--
Sapere Aude
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| node-list question 2, Bas Peters | Thread | table-part and RTF, Jany Quintard |
| Re: Question concerning speedup of , Joerg Wittenberger | Date | RE: About the source library, DPawson |
| Month |