Hi Matt,
I'm using the ruby libxml and have looked at the api/docs but can't find an answer to my question. Which is... is it possible to get the current string position of an element while using the Reader/Parser?
Let's see - I'm not sure I understand the question. Do you mean if you are parsing some string, say:
<feed><id>my_id</id><entry><title>my entry</title></entry></feed>That you want to know at one character you are at? So say character 10, thus at the end of id?
If that's it, I'm not sure, I'd have to check (are you familiar with libxml itself, that's the other place to see).
What's the problem you are trying to solve that requires knowing the string position - maybe there is a different approach?
Charlie -- Charlie Savage http://cfis.savagexi.com
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel