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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: UNIX pipes, XML processing

[ Lists Home | Date Index | Thread Index ]
  • From: "Simon St.Laurent" <simonstl@simonstl.com>
  • To: XML-Dev Mailing list <xml-dev@xml.org>
  • Date: Tue, 25 Jul 2000 17:14:46 -0400

At 05:03 PM 7/25/00 -0400, Sasha Nakhimovsky wrote:
>The idea of SAX filters ( http://www.ccil.org/~cowan/XML/ , incorporated
>into SAX2) clearly belongs here.  The computational model [of SAX filters]
>is the same as in Unix pipes, except Unix filters work on a linear sequence
>of lines in a text file, while SAX filters work on tree-structured data.

I like that very much!

You can use SAX filters when passing processing around inside one system,
and re-serialization and parsing when you need to cross system barriers.
In either case, you get to enjoy the benefits of labeled structures.

It doesn't solve every problem in programming, but it's a nice model for
many kinds of flow.

Simon St.Laurent
XML Elements of Style / XML: A Primer, 2nd Ed.
http://www.simonstl.com - XML essays and books




 

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

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