Re: TOC problem with HTML32 dsssl

Subject: Re: TOC problem with HTML32 dsssl
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Thu, 16 Oct 1997 17:20:28 -0400
Nigel Hutchison wrote:
> I tried changing MAKETOC to detect this but I can't work out whether the
> sosofo
> I get back when I call (with-mode toc  (process-node-list (ancestor
> "BODY"))) is
> "empty " or not.

DSSSL does not allow you to check the contents of a sosofo at all. This
allows higher-performance implementations. Usually you don't need this.
You can do a DTD-specific query, as was suggested by Dave Love:

(define (h2-exists)
	(select-elements (descendents (root)) "H2"))

 Paul Prescod

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


Current Thread