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

RE: Microsoft's vision of data and the role of XML in that con


vb.net xmlreader
I don't quite get why it could possibly be any easier using SAX - you
can still use the same interface - it's then up to you how you implement
within the pipeline itself. It is trivial to plug them together as
follows:

ms contains file stream..

fm.runPipe1(ms);
fm.runPipe2(ms);
fm.runPipeN(ms);
fm.runFilters();

XmlReader rdr = new XmlReader(ms);....

I have implemented this with no probs at all with the same interface - a
stream containing the Xml doc - and process the doc as a pipeline using
the XmlReader and XmlWriter.

Unless of course you mean something different :)

Steven.

==========================================================
Steven Livingstone BSc (hons), PgDip ITS [s.livingstone@b...]
.Net & Xml Consultant 

Change your business at http://www.deltabis.net 
Grow your business at http://www.venturetogether.com
Change European Football at http://www.theatlanticleague.com

*** Author of "Application Development with MSXML 4.0"
*** Coming Soon to a developer near you...
"Beg VB.NET XML:Essential XML Skills for VB.NET Programmers"
"Beg C# XML:Essential XML Skills for C# Programmers"
==========================================================

-----Original Message-----
From: Aaron Skonnard [mailto:aarons@d...] 
Sent: 19 September 2002 01:06
To: xml-dev@l...
Subject: RE:  Microsoft's vision of data and the role of XML in
that context



> Joshua Allen wrote:
> 
> > The forward-only "pull model" is quite important because many
> > of our low-level scenarios involve pipelined processing of XML, 
> > where performance and working set are critical.  
> > "Pull to read, push to write" makes it easy for developers to 
> > write components which automatically "just works" in a pipelined 
> > environment.
> 
> Could you elaborate on this?  I'm confused.
> 
> If every component follows this model, how do you plug
> two of them together?


I'm confused too. IMO, XML processing pipelines are much easier to
implement in SAX that with the .NET APIs (this is actually the
1-out-of-10 scenario I alluded to in my previous post). Since the same
interface, ContentHandler, was used for both reading and writing, it was
trivial to plug them together. This is not the case in .NET. Do you mean
a pipeline of readers or a pipeline of writers, but not where one feeds
into the other?

-aaron

......................................................
. Aaron Skonnard, DevelopMentor (http://skonnard.com).
.  Essential XML Quick Reference available online!   .
.    Download PDFs: http://www.develop.com/books     .
......................................................




-----------------------------------------------------------------
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.