Re: Formatting_the_result

Subject: Re: Formatting_the_result
From: Oisin McGuinness <oisin@xxxxxxxx>
Date: Wed, 06 Oct 99 10:58:20 -0400
After the educational discussions on meaningful/non-meaningful white space,
(like everyone else, I've tripped up over SGML whitespace handling before),
to return to the original problem, and a solution...

Am I missing something or is a reminder needed
that

sgmlnorm -dn

will normlize the input to the output, so that, for example,
cat in.sgml
<doc
 >
<para
 >This is a <figref
 > test abcd<figref
 >efgh</para
 >
</doc
 >
will yield 
<DOC>
<PARA>This is a <FIGREF> test abcd<FIGREF>efgh</PARA>
</DOC>
?
(The -dn will preserve an explicit DOCTYPE declaration.)
Note that sgmlnorm is part of the whole Jade/SP package.

So just add sgmlnorm to the pipeline after the Jade run which produces
the SGML you don't like.


Oisin McGuinness

Sumitomo Bank Capital Markets
277 Park Avenue
New York NY 10172
USA

(212)-224-4913, email: oisin@xxxxxxxx


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


Current Thread
  • RE: Formatting_the_result
    • Ron Ross - Tue, 5 Oct 1999 02:23:58 -0400 (EDT)
      • <Possible follow-ups>
      • DPawson - Wed, 6 Oct 1999 02:31:58 -0400 (EDT)
        • Ron Ross - Wed, 6 Oct 1999 12:50:14 -0400 (EDT)
      • Oisin McGuinness - Wed, 6 Oct 1999 11:07:43 -0400 (EDT) <=