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

RE: Check out the pipeline submission

  • To: <xml-dev@l...>
  • Subject: RE: Check out the pipeline submission
  • From: "Leigh Dodds" <ldodds@i...>
  • Date: Fri, 1 Mar 2002 13:32:59 -0000
  • Cc: <simonstl@s...>
  • Importance: Normal
  • In-reply-to: <1014945212.907.44.camel@l...>

how to check pipelines
I've had a chunk of code that provides a trivial API and 
vocabulary for pipelines sitting around for ages. There's actually 
very little do it, because it wasn't aimed at the same 
space at this stuff, and XPipe -- i.e. 'industrial processing'.

It was intended as a way for non-developers to make use 
of SAX filters without having to write any code. It overlaps 
most strongly with David Brownells work.

Here's an example:

<!DOCTYPE gz:gauze PUBLIC "+//IDN ldodds.com//DTD Gauze 0.1//EN" "schemas/gauze.dtd">
<gz:gauze xmlns:gz="http://www.ldodds.com/ns/gauze/">
   <gz:pipe>
      <gz:filter class="...a.filter"/>
      <gz:filter class="...some.other.filter..."/>      
    <gz:filter class="com.ldodds.gauze.sax.DataWriterAdapter">
         <gz:prop name="OutputFileName" value="formatted.txt"/>
         <gz:prop name="IndentStep" value="15"/>
      </gz:filter>
   </gz:pipe>
</gz:gauze>

And then:

java com.ldodds.gauze.apps.Gauze in.xml pipe_def.xml

with output being dumped to stdout.

I was then going to lift filters from other places to do work such as 
validation (DTD and Schematron only initially), transformation, etc.

It seemed a shame that there was functionality available -- 
utility code to do useful streaming processing of data -- that couldn't 
be used from the command line. I've always been surprised that 
more work hasn't been put in to writing useful SAX filters. That was 
one reason I was interested in the 'Collected Works of SAX' idea 
that never took off.

Recently I've been spending a lot of time with Cocoon and am quite 
impressed by the model. With the ability to slurp in XML and HTML 
content from anywhere and then process it through multiple 
pipelines is very nice.

Adding in Simons reg frag (which I've nearly finished wrapping as 
a Cocoon transformer), the streaming transformation stuff that 
was discussed here recently, and the principles of REST makes 
for some very interesting possibilities.

Cheers,

L.

> -----Original Message-----
> From: Simon St.Laurent [mailto:simonstl@s...]
> Sent: 01 March 2002 01:13
> To: Tim Bray
> Cc: xml-dev@l...
> Subject: Re:  Check out the pipeline submission
> 
> 
> On Thu, 2002-02-28 at 18:33, Tim Bray wrote:
> > http://www.w3.org/TR/xml-pipeline/
> > 
> > I hear a heavy echo of OS360 JCL... //step1.sysin dd etc....
> 
> I'm not familar with OS360, but I hear a heavy echo of ant [1], which
> doesn't seem too unreasonable to me.
> 
> XML's grown pretty hairy over the years, and it's nice to see that at
> least acknowledged.  Could have done without the W3C XML Schema in the
> middle, but this isn't anything too weird, IMHO.
> 
> [1] - http://jakarta.apache.org/ant/
> 
> -- 
> Simon St.Laurent
> Ring around the content, a pocket full of brackets
> Errors, errors, all fall down!
> http://simonstl.com
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 

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.