Re: ifollow question

Subject: Re: ifollow question
From: Toby Speight <Toby.Speight@xxxxxxxxxxxxxx>
Date: 11 Feb 1999 13:38:33 +0000
Dave> David Pawson <URL:mailto:DPawson@xxxxxxxxxxx>

0> In article
0> <F1ACF6648AF4D1119994006097AB82E42F8F24@xxxxxxxxxxxxxxxxxx>, Dave
0> wrote:

Dave> (element speaker
Dave>   (make paragraph
Dave>       (make sequence
Dave>       (process-children)
Dave>       (literal ": ")
Dave>       (if (string=? (gi (ifollow (current-node))) "speech")
Dave>                                     ; tried "SPEECH" as well.
Dave>       (process-node-list
Dave>        (ifollow (current-node)))
Dave>       (literal"Nope")    ;; ? debug??
Dave>       ))))
Dave> (element speech (empty-sosofo))

It's worth writing (debug (gi (ifollow (current-node)))) to see what's
going on - or, replace the (if ...) with (literal (gi ...)).  Those
techniques I find useful time after time when I get confused about
what I'm picking out of the grove.

Also, see the smarter debug function in the DSSSLdoc library.

-- 


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


Current Thread
  • ifollow question
    • Pawson, David - Thu, 11 Feb 1999 07:27:52 -0500 (EST)
      • Toby Speight - Thu, 11 Feb 1999 08:49:14 -0500 (EST) <=
      • <Possible follow-ups>
      • Avi Kivity - Thu, 11 Feb 1999 08:37:02 -0500 (EST)