0

c1、 、 などの CSS クラスc2とそれに対応する属性を取得する必要がありますが、わかりません。それは可能ですか、それとも CSS は XPath の範囲外ですか?

例:

<style type="text/css">&#13;
    p.c6 {font-weight: bold; text-align: left}&#13;
    p.c5 {font-weight: bold}&#13;
    p.c4 {text-align: left}&#13;
    td.c3 {font-weight: bold}&#13;
    p.c2 {text-align: center}&#13;
    p.c1 {font-weight: bold; text-align: center}&#13;
</style>
4

0 に答える 0