Hi Tim,
I finally got it going. Here were the issues I had to deal with, I hope this helps somebody.
Thanks for posting your experiences.
find_first returns a node object and find returns a xpath object. They are not the same (obviously).
Right. I updated the Rdocs to make that a bit more clear.
xpath.count returns weird numbers. I still don't understand what it's counting.
Could you expand on this. Do you mean xpath.length (there isn't a count method)? One thing that the docs don't make clear is that the fine method can return a set of nodes, or it can returns immediate values like numbers, boolean, string (that's just the way xpath works). Maybe that is the issue?
when you get a node and iterate over it the first node is sometimes blank. It's better to use each_element.
That sounds like a bug. Do you have a test case by chance?
Also installing the gem gives strange errors when trying to build docs and ri but the binary seems to be installed OK.
Ignore those - its due to limitations in RDoc 1.x. Rdoc 2.x shows no errors.
Thanks for your help. I got it going enough to parse my soap envelope.
Sounds good. Charlie
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel