Comment Re:This does not bode well (Score 1) 608
Sounds like a good idea.
It might be nice to include a method on the object your iterator returns to test if the stack matches a given XPath. That'd make your code really simple if you just wanted a few things out of a complex document. I guess a full XPath implementation would be a bit of a chore, but you could get most of the gain with just a small subset of the spec.
It might be nice to include a method on the object your iterator returns to test if the stack matches a given XPath. That'd make your code really simple if you just wanted a few things out of a complex document. I guess a full XPath implementation would be a bit of a chore, but you could get most of the gain with just a small subset of the spec.