c1
、 、 などの CSS クラスc2
とそれに対応する属性を取得する必要がありますが、わかりません。それは可能ですか、それとも CSS は XPath の範囲外ですか?
例:
<style type="text/css">
p.c6 {font-weight: bold; text-align: left}
p.c5 {font-weight: bold}
p.c4 {text-align: left}
td.c3 {font-weight: bold}
p.c2 {text-align: center}
p.c1 {font-weight: bold; text-align: center}
</style>