Say I have about 20 tags to find in a document and manipulate. What is going to be the faster approach, reading through the entire tree and handling the matching tags as it comes across them, or doing a #find on the document for each tag.
Neither. Using a SAX interface is the fastest, actually. Using both of the methods you suggest require creating a DOM tree. -sc
-- Sean Chittenden s...@chittenden.org _______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel