🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.sgml
Article #127

Re: Declarative vs. Procedural Markup

#127
From: Dan Connolly
Date: Tue, 04 Aug 1992 00:50
33 lines
2207 bytes
In article <9208032015.AA16601@mammoth.Berkeley.EDU> DRMACRO@RALVM13.VNET.IBM.COM ("Dr. "Eliot Kimber" Macro") writes:
>Dan Connolly writes:
>
>>Descriptive markup (should we call it declarative markup?), in
>>contrast, implies no particular processing engine. It uses lexical
>>conventions to associate properties with content. Where a procedural
>>markup system would say "Set italics mode.  Draw these characters. Set
>>roman mode," a descriptive markup system would say, "these characters
>>are italic."
>
>The more interesting (I think) and useful abstraction is
>"these characters represent data of type X", totally divorced
>from any output specification.  That characters of type X may
>be set in italic in some styles is coincident and controlled
>purely by specifications outside the SGML document source
>itself, or applied via link process definitions.
>
This is the "structural vs. formatting" distinction. It is
relavent, but orthogonal to the "procedural vs. descriptive"
markup distinction.

The purpose of my article is to point out that SGML takes
a stand on the procedural/descriptive distinction, but leaves
the format/structure distinction to the application. i.e.
it's possible to construct an SGML formatting system, but it
will be a descriptive markup system nontheless.

I agree that applications should lean towards the structural
side of the format/structure distinction.

But let's not confuse the issues.

Dan
Technical Details
Message-ID: <1992Aug4.005005.29589@news.eng.convex.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!convex!convex!connolly
References: <9208032015.AA16601@mammoth.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.sgml
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!convex!convex!connolly
From: connolly@convex.com (Dan Connolly)
Subject: Re: Declarative vs. Procedural Markup
Sender: usenet@news.eng.convex.com (news access account)
Message-ID: <1992Aug4.005005.29589@news.eng.convex.com>
Date: Tue, 4 Aug 1992 00:50:05 GMT
References: <9208032015.AA16601@mammoth.Berkeley.EDU>
Nntp-Posting-Host: pixel.convex.com
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.
Lines: 34