Subject: AW: [dssslist] how to process title with condition? or, do not di splay empty title in figure object From: Lutz Pliske <Pliske@xxxxxxxxx> Date: Thu, 30 Mar 2006 14:32:34 +0200 |
Hi, You could also try something like this: (element (FIGURE TITLE) (if (node-list-emtpy? (children (current-node))) (process-node-list(empty-node-list)) (make element gi: "TITLE" (process-children) ) ) ) -----Urspr|ngliche Nachricht----- Von: Markus Hoenicka [mailto:markus.hoenicka@xxxxxxxxxxxx] Gesendet: Donnerstag, 30. Mdrz 2006 14:20 An: dssslist@xxxxxxxxxxxxxxxxxxxxxx Betreff: Re: [dssslist] how to process title with condition? or, do not display empty title in figure object Hi, I guess you have to check the length of the contents of the title element by means of the string-length function. If it is zero, skip the processing of the title element. regards, Markus JtoEE JtoME <j2eeorj2me@xxxxxxxxx> was heard to say: > In my Book, all figure tags contain a title tag (as it > is must) but I would like to bypass the processing of > title which contains an empty string. So that, I will > not get the empty caption in my rtf output (For > example, Figure 7.2:). -- Markus Hoenicka markus.hoenicka@xxxxxxx (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [dssslist] how to produce page , Mulberry Technologie | Thread | Re: AW: [dssslist] how to process t, JtoEE JtoME |
Re: [dssslist] how to process title, Markus Hoenicka | Date | Re: AW: [dssslist] how to process t, JtoEE JtoME |
Month |