Re: make entity

Subject: Re: make entity
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Fri, 08 Aug 1997 09:42:06 -0500
At 02:56 PM 8/7/97 -0500, Vu Nguyen wrote:
>(default
>  (make entity
>     system-id: "test2.html"
>     (process-children)
>   )
> )

The first problem is that this should not be a default rule (which applies
to every element with no more specific rule) but the root rule or rule for
the document element of the input document:

(root 
  (make entity
     system-id: "test2.html"
       (sosofo-append
         (make document-type
           name: "HTML"
           public-id: "-//IETF//DTD HTML 2.0//EN")
         (make element
           gi: "html"
                ....))))

The second problem is that you've specified the output before the input
(and thus inadvertantly failed to specify an input document).   The command
line should be:

  % jade -c<somepath>/catalog -d<somepath>/myspec.dsl -t sgml 
    <somepath>/test.sgml > test.html

Cheers,

E.

        
 

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


Current Thread
  • make entity
    • Vu Nguyen - Fri, 8 Aug 1997 00:43:41 -0400 (EDT)
      • <Possible follow-ups>
      • W. Eliot Kimber - Fri, 8 Aug 1997 10:42:37 -0400 (EDT) <=
      • Vu Nguyen - Fri, 8 Aug 1997 11:11:05 -0400 (EDT)