> Next, sometimes in xpath land you need to inject strings containing '
> or " or other shenanigans. Then you need an xpath expander, not a Ruby
> string expander. I SUSPECT you do that like this:

that might need a

> =A0 doc.xpath( '//small/descendant::span[ @id =3D "yfs_t10_$str" ]',

nil,

> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{ =
:str =3D> str } )

to skip the 'namespaces' argument there...