xpath question
bruce
bedouglas at earthlink.net
Sun Jul 2 16:41:35 EDT 2006
hi
is there anyone with XPath expertise here? i'm trying to figure out if
there's a way to use regex expressions with an xpath query? i've seen
references to the ability to use regex and xpath/xml, but i'm not sure how
to do it...
i have a situation where i have something like:
/html/table/..../[@class='foo']
is it possible to do soomething like [@class~=/fo/] so i'd match the class
attribute with fo....
i'm trying to parse HTML/Web docs...
thanks
-bruce
More information about the Python-list
mailing list