XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Using SAX for Proper XML Output
Subject: Scaling...
Date: 2003-03-15 13:19:06
From: Uche Ogbuji
Response to: Scaling...

It actually scales very well, as long as you're using a proper output stream and nor cStringIO or something like that. It emits as it goes and holds very little state.


As for back-tracking, that sounds very contradictory to your ned for scalablity: backtracking requires maintaining stte, which makes it non-scalable. But to answer your question anyway, backtracking is not very easy using this techique.


--Uche
http://uche.ogbuji.net


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938