Article View: comp.text.sgml
Article #201SGML query program
From: Paul Hardiman
Date: Fri, 11 Sep 1992 17:41
Date: Fri, 11 Sep 1992 17:41
67 lines
1869 bytes
1869 bytes
I am interested in knowing of any: 1) software that can do ad hoc queries for data from ASCII SGML files 2) query and manipulation languages that might be suitable for ASCII SGML files. 3) Indexers for elements and attributes. I do not recall much discussion on using ASCII SGML documents as data bases, so this might be new territory. I know that there are a few systems that handle query capability, but they all seem to want to convert the file into a database. That is no bueno for me - the files must stay ASCII files. If proprietary interests are involved, please advise. I have thrown a few query examples together to help explain my interest: (pardon the SQL look-alike, I don't get out often enough) > select content from 321.memo > where gi = "subject"; SGML query program > select attr from 321.memo > where gi = "memo" and attr = "nbr"; pmh1223 to retrieve the subject and id from a memo. OR > select memo.subject, "\t", memo[nbr] from 321.memo; SGML query program pmh1223 where content is implied if the item specified is a GI and attribute value is implied if the item is an attribute. The DTD for memo might look like <!ELEMENT memo - - (date,to, from, subject) > <!ATTLIST memo nbr CDATA #IMPLIED > <!ELEMENT subject - - (#PCDATA) > . . . Thanks. BTW, my email has been a little dull lately, so even flames are welcome. Ciao 4 Now. -- Ciao 4 Now --- Paul Hardiman (206) 728-8843 hardiman@bcstec.boeing.com
Technical Details
Message-ID:
<3602@bcstec.ca.boeing.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!bcstec!hardimanShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!bcstec!hardiman From: hardiman@bcstec.ca.boeing.com (Paul Hardiman) Newsgroups: comp.text.sgml Subject: SGML query program Keywords: SGML Message-ID: <3602@bcstec.ca.boeing.com> Date: 11 Sep 92 17:41:13 GMT Organization: Boeing Computer Services, Seattle Lines: 67