W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > June 1997

Re: New work-queue item: Conditional inclusion

From: Arjun Ray <aray@q2.net>
Date: Thu, 5 Jun 1997 15:47:19 -0400 (EDT)
To: w3c-sgml-wg@w3.org
Message-ID: <Pine.LNX.3.95.970605152948.21051C-100000@q2.net>

On Thu, 5 Jun 1997, Gavin Nicol wrote:

> >Conditional display seems as easy as 
> >
> >(element FRAMESET (empty-sosofo))
> Precisely, I doesn't need to be, nor should be, in the language 
> specification (beyond what SGML current offers). 

Yup. Sometimes clumsiness in syntax can be a correct disincentive:-)

Moreover, conditional inclusion shouldn't be confused with dynamic scoping
or control of "content" (the difference between #ifdef and if (...).) For
markup, we're basically talking about an equivalent of querying, whether
this be preprocessing by the server or postprocessing by the client.

Finally, the basic problem with using MSs to kludge this is that SGML's
default of INCLUDE for status specification is in the way (otherwise the
common {something=>true,nothing=>false} type of fail-soft behavior could
be built in.) Nevertheless, I'll throw yet another syntax suggestion into
the pot:

  <![ %cond1; [ ...
  ]][ %cond2; [ ...

(i.e. MSC-DSO closes a MS and opens another one. Wouldn't quite work on
the older systems though.) 


Received on Thursday, 5 June 1997 15:39:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:10 UTC