This is a simple text sample. \
It contains hardly any SGML markup at all, and does not stress this idea of "stripping" away SGML markup. !EOF Running this script produces the following: sfs1:~/sgml$ plain-example This is a simple text sample.It contains hardly any SGML markup at all, and does not stress this idea of "stripping" away SGML markup.sfs1:~/sgml$ This technique strips the markup right down to the bare bones, running the text together without any formatting, e.g. line breaks. Presumably, if one knows the ASP replacement file format, one could perform more sophisticated conversions. The sgmlsasp program comes with the sgmls parser. It is not included with "sp", which leads me to suspect it is deprecated. -- Keith M. Corbett kmc@specialform.com Special Form Software +1 617 596 7021
\
This is a test
\
how many pseudo-elements in this \
p
\
element?
\
I do declare
\
\
\\This is not valid! (The RE after the quote tag above forces the PCDATA branch of the disjunction). \
\
\Getting this fixed would be a DEFINITE step forward, and would not invalidate previously valid documents, just make some perplexingly invalid documents valid. ht -- Henry S. Thompson, Human Communication Research Centre, University of Edinburgh Visiting Fellow at Institute for Research in Cognitive Science University of Pennsylvania, 3401 Walnut Street, Philadelphia, PA 19104-6228 Phone: (+1) 215 898-0366 Fax: (+1) 215 573-9247 Email: ht@unagi.cis.upenn.eduBut this is OK! (note you must keep the following to end tags on the same line as well) \
\
\... \
text \
\...\
text \
\... \
\
\...\
\
\... \
\
\...\
\
Part A can contain any block-level elements. \
Part B must contain a complete HTML document. \ \ \
An unpublished document.>\
No source: electronic form is the original.\
The world's shortest TEI document.\\
tag
Date: 30 Jun 1995 15:03:48 -0400
Organization: Massachvsetts Institvte of Technology
Message-ID: \ tag in HTML.
say I have
\
text b
\
My handy dandy SGML normalizer (SP) converts this to
\
text b
\ text a\ text b\ as a separator (argh! who came up with that?), but
that's not what SP parses it to. Is there any elegant, easy way to get
what I want or do I have to hack it by hand?
(Note that the last example is actually disparaged by the entry for \
in the Annotated HTML DTD!)