OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML query language and another OS/XML suggestion

[ Lists Home | Date Index | Thread Index ]
  • From: "Stephen D. Williams" <sdw@lig.net>
  • To: Oren Ben-Kiki <oren@capella.co.il>
  • Date: Tue, 30 Mar 1999 14:35:48 -0500

Yes, the pipe mechanism takes on whole new meaning with XML.

It wouldn't be all that large of a job to do a lot of it.  Obviously adding --XML capabilities
wouldn't be that tough since it's simply adding labeling tags to output that is already
formatted.

Even /proc/xml wouldn't be that hard for output, a little tougher for input, but allowed input
would be so restrictive that a simple regex parser would suffice for most things.

Hacking bash in an appropriate way is more difficult, however there is already an sgrep (SGML
grep) and external tools can handle all of this like Perl, Java, Tcl/TK.

I suppose what we need is a group to start standardizing a DTD that settles what to call
everything in a system (ports, network address, process/thread, user, etc.).  That's probably
the biggest job.

sdw

Oren Ben-Kiki wrote:

> Stephen D. Williams <sdw@lig.net> wrote:
> >A note on the /dev/proc/xml mention: I've been thinking for a while that
> EVERY data/meta-data
> >interface to a typical OS (such as Linux/Unix) should have an XML form.
> Maybe add or override
> >-X  or --XML to all commands where it could possibly make sense.  ps,
> netstat, lsof, ifconfig,
> >df, egrep, ls, etc. are all good candidates.  Add simple tree/value
> extraction to bash and
> >you'd have more portability for a lot of things.
>
> Wouldn't that be great? The UNIX pipe model has suffered from not having a
> standard structured format, as has the /proc file system.  Not to mention
> what this could do to an OS like Plan9 where "everything is a file" and
> textual formats abound...
>
> However this would be a major undertaking. Maybe someone in the GNU project
> would consider it, though.
>
> Have fun,
>
>     Oren Ben-Kiki
>
> xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
> To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
> (un)subscribe xml-dev
> To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)

--
OptimaLogic - Finding Optimal Solutions     Web/Crypto/OO/Unix/Comm/Video/DBMS
sdw@lig.net   Stephen D. Williams  Senior Consultant/Architect   http://sdw.st
43392 Wayside Cir,Ashburn,VA 20147-4622 703-724-0118W 703-995-0407Fax 5Jan1999



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS