Sign In/My Account | View Cart  
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: