🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.sgml
Article #598

Re: SGML for data querying

#598
From: Bernd Nordhausen
Date: Thu, 07 Jan 1993 02:16
58 lines
3292 bytes
drmacro@ralvm13.VNET.IBM.COM writes:
(Stuff deleted)

: >So... Are there any SGML programming toolkits available which allow
: >for this sort of thing?  Is the ARCSGML/JClark suitable in this way?
: >(I'm on a small budget)
: 
: Someone has provided a Rexx interface to ARCSGML for use with
: Personal Rexx under MS-DOS.  With this, you could fairly easily
: write "query" applications.  The basic idea is
: to first define the data structures you need to hold the data
: you want, just as you would for any other data processing
: application.  You then process the document, grabbing data
: off of the relevant elements as they go by and putting it into your data
: structures.  The rest you just let flow through and ignore.

In the distribution of sgmls 1.0, there is a Perl skeleton script that 
"parses" the output of sgmls. You just have to insert the code you want 
into this skeleton script to write an application.

(more sutff deleted)

: <digression>
: 
: The examples above, and most SGML applications in existence today,
: process SGML documents sequentially from start to finish.  However,
: SGML does not require sequential processing, and it can make just
: as much sense to define applications that work with SGML documents
: wholistically as a tree, rather than sequentially, at
: least in the abstract.  In this processing model, access is
: via queries, rather than sequential access by waiting for the
: element you want to flow by.  Some SGML-based online presentation
: systems, such as EBT's Dynatext, present this sort of view of
: documents, providing query-based direct access to elements and
: and data, which makes sense in a dynamic, direct access application
: like online presentation.

I think this is a very good point, and I believe that the next generation SGML
parsers have to move away from the sequential processing model. Some probably
have, such as SGML parsers for SGML editors.  In any HyTime application, 
there will be communications between the application, HyTime engine, and 
the SGML parsers. This communication will in most cases be non-sequential.
Hence, I think an SGML parser using the processing model that Eliot described
will be much more powerful.

(even more stuff deleted)

: Eliot Kimber                      Internet:  drmacro@ralvm13.vnet.ibm.com
: Dept E14/B500                     IBMMAIL:   USIB2DK9@IBMMAIL
: Network Programs Information Development     Phone: 1-919-543-7091
: IBM Corporation
: Research Triangle Park, NC 27709

--
   Bernd Nordhausen (bernd@iss.nus.sg)
   Institute of Systems Science                           Ph: +65 772-6240 
   National University of Singapore                      FAX: +65 778-2571
   Singapore 0511                               
Technical Details
Message-ID: <1993Jan7.021616.11906@nuscc.nus.sg>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!darwin.sura.net!jvnc.net!newsserver.jvnc.net!newsserver.technet.sg!nuscc!bernd
References: <19930106.155234.608@almaden.ibm.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.sgml
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!darwin.sura.net!jvnc.net!newsserver.jvnc.net!newsserver.technet.sg!nuscc!bernd
From: bernd@iss.nus.sg (Bernd Nordhausen)
Subject: Re: SGML for data querying
Message-ID: <1993Jan7.021616.11906@nuscc.nus.sg>
Sender: usenet@nuscc.nus.sg
Organization: Institute Of Systems Science, NUS
X-Newsreader: Tin 1.1 PL4
References: <19930106.155234.608@almaden.ibm.com>
Date: Thu, 7 Jan 1993 02:16:16 GMT
Lines: 58