Hello again :)
I'm hitting an issue... hope someone can help me. Say I have this data:
***snip***
<file name="04_Rush_Hour_Wheels_of_Progress.mp3" size="5.51 Mb"
time="Dec 13 13:36 2006">
<comment>6:1, 128 kbps#44100Hz, Joint stereo</comment>
<mp3tag artist="Andy Brick" title="Wheels of Progress"
album="SimCity 4 Rush Hour Soundtrack" year="2003"></mp3tag>
</file>
***snip***
if I do a xpath search like this, I get a result:
>>> o.xpath('//*[ contains( @*, "Andy" ) ]' )
[<Element mp3tag at 977940>]
but if I try to search for this string:
>>> o.xpath('//*[ contains( @*, "SimCity" ) ]' )
[]
...I get no result.
Is the problem on the xpath query ? What am I missing here ? I thought
" @* " is supposed to look at all tag attributes ?
thanks,
--
Paul Eipper
Brasil
|