Re: Trick with SGML Output Transform

Subject: Re: Trick with SGML Output Transform
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 Jun 1997 14:27:25 -0400
W. Eliot Kimber wrote:
> You need to use the make entity function because document-type is an atomic
> flow object and therefore the process-children can't be in its scope.

I think that you can use sosofo-append for the same thing, can't you?

(root
  (sosofo-append
    (make document-type
        name:      (gi (node-property 'docelem (current-node)))
        ; NOTE: Need prolog document string properties to get the
original 
        ; public ID
;        public-id: ""
;        system-id: ""
    )
    (process-children)
  )
)

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


Current Thread