[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: UNIX pipes, XML processing

  • From: Sasha Nakhimovsky <sasha@m...>
  • To: "'Simon St.Laurent'" <simonstl@s...>,XML-Dev Mailing list <xml-dev@x...>
  • Date: Tue, 25 Jul 2000 18:15:01 -0400

unix pipe
Come to think of it, XSLT stylesheets can also work as filters.  Xalan can
take a stream of SAX events on input and send another one to output
(apologies for my ignorance about Saxon and others).  One can hope that
stylesheets compiled by Sun's xsltc will have that functionality also.  It
should be possible to mix and match stylesheets and SAX filters in the same
pipe.

Sasha

-----Original Message-----
From: Simon St.Laurent [mailto:simonstl@s...]
Sent: Tuesday, July 25, 2000 5:15 PM
To: XML-Dev Mailing list
Subject: RE: UNIX pipes, XML processing


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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.