Article View: comp.text.sgml
Article #599Re: SGML for data querying
From: Alasdair Grant
Date: Thu, 07 Jan 1993 14:28
Date: Thu, 07 Jan 1993 14:28
19 lines
1606 bytes
1606 bytes
But support for queries of the form "move to previous <item> element" would be difficult to support without storing the entire database in fully parsed form. Then you're not really talking about SGML at all, you're talking about a hierarchical database, object-oriented even, with facilities for SGML import and export. In fact thinking of this as SGML could raise many problems, for example forcing users to make distinctions between element-attributes and element data, and forcing them to know about ordering even when (to the data) it might not be significant. To me, choosing whether to store data in content or attributes is one of the real hassles of DTD design. Surely the way to go is define a common view of object-oriented databases, and then settle on a way in which these can be imported and exported as SGML. One useful thing to do might be to build SGML support into one of the string-processing languages like SNOBOL or Icon. (I don't really class Rexx or Perl since they only have linear patterns, but I do know of some database query languages which work on the SNOBOL model.)
Technical Details
Message-ID:
<1993Jan7.142852.23671@infodev.cam.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!uknet!pavo.csi.cam.ac.uk!ag129References:
<19930106.155234.608@almaden.ibm.com> <1993Jan7.021616.11906@nuscc.nus.sg>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!uknet!pavo.csi.cam.ac.uk!ag129 From: ag129@cus.cam.ac.uk (Alasdair Grant) Newsgroups: comp.text.sgml Subject: Re: SGML for data querying Message-ID: <1993Jan7.142852.23671@infodev.cam.ac.uk> Date: 7 Jan 93 14:28:52 GMT References: <19930106.155234.608@almaden.ibm.com> <1993Jan7.021616.11906@nuscc.nus.sg> Sender: news@infodev.cam.ac.uk (USENET news) Organization: U of Cambridge, England Lines: 19 Nntp-Posting-Host: bootes.cus.cam.ac.uk