On Wed, 23 Apr 2008 17:17:32 -0700, Stedwick wrote:

> I have this line in my XML file that was created by REXML
> 
> <episode name='03x08 - Future&apos;s End ~ 1' rating='100'>
> 
> And I simply cannot access that element using REXML, at all, in any way,
> no matter what, as far as I can tell...
> 
> I have tried escaping the apostrophes, I have tried converting them to
> &apos;, I have tried both directly accessing the element and using
> XPath, nothing works.
> 
> Does anybody have any tricks for how to access elements that have
> attributes with apostrophes in their names? Thanks!

This has been discussed at
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/117253


When will REXML support parameterized XPath queries (the way *all* SQL 
databases support parameterized SQL queries)?

--Ken

-- 
Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/