Re: 2 questions

Subject: Re: 2 questions
From: Tsyshevsky Vladimir <wowa@xxxxxxxxxx>
Date: Fri, 21 May 1999 11:34:05 +0400
>cc: dssslist@xxxxxxxxxxxxxxxx
>From: Adam Di Carlo <adam@xxxxxxxxxxx>
>Date: 21 May 1999 00:08:41 -0400
>User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3
>Content-Type: text/plain; charset=us-ascii
>Sender: owner-dssslist@xxxxxxxxxxxxxxxx
>Precedence: bulk
>Reply-To: dssslist@xxxxxxxxxxxxxxxx
>X-RBL-Warning: See Your mailserver is in the ORBS database as an insecure email relay. This is a generic text
>Joerg Wittenberger <Joerg.Wittenberger@xxxxxxxxx> writes:
>> 1) I want to use jade -t sgml for a document conversion, but I can't
>> figure how to keep the comments from the input in the output.  (What
>> we want to do is to convert a bunch of documents from one DTD to
>> another for further editing.)  Impossible?  Any suggestion what to do
>> instead?
>Urm!  I guess you could use Perl or Scheme or something.  I really
>wasn't aware of this problem.  Maybe you could pre-process the
>document to turn <!-- ... --> (proper comment regexps are kinda
>tricky) to become, um, <comment>...</comment> and then post-process it

Such things as sgml comments, ignored chars, DTD contents etc. are not
included into grove created by jade. But you can access is at more low
level (you have to inherit new class from ParserApp and process all the
Event callbacks related).

I managed to create the interface for Scheme programming language, and
successfully used it in three working applications. Using it, for
example, I can assemble back literally exact copy of any SGML document.

Initially the interface designed for MzScheme package and tested on
Unix, now it ported to Bigloo (in alpha-pre-release).

I plan to get sources publicly available as soon as I write some more


Vladimir V. Tsychevski senior expert

                  Jet Infosystems Krasnoproletarskaya 6, Tel. (+7 095)
972-1182 Moscow 103006, Russia Fax (+7 095) 972-0791
Any opinions or recommendations herein are those of the author and not
of his computer.

 DSSSList info and archive:

Current Thread