← Prev in month ← Prev in thread
Next in thread → Next in month →

DOCBOOK-APPS: Re: Yet more confusion over strings and objects in Lisp.

From
Norman Walsh <>
Date
2002-07-11T12:53:03+00:00
ID
Thread
DOCBOOK-APPS: Re: Yet more confusion over strings and objects in Lisp.
/ Gre7g Luterman <> was heard to say:
| (if (string=? (nav-context elemnode) "")
|
| part.  (nav-context elemnode) returns an object, not a string.  So 

If you're trying to test whether or not nav-context generates text, use

  (if (nav-context?)
     ...

(nav-context ...) returns a sosofo and those are by definition opaque.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <>      | The sudden disappointment of hope
http://www.oasis-open.org/docbook/ | leaves a scar which the ultimate
Chair, DocBook Technical Committee | fulfillment of that hope never
                                   | entirely removes.--Thomas Hardy
← Prev in month ← Prev in thread
Next in thread → Next in month →