|
30 | 30 | <xpath expr="//div[hasclass('container')]//p" position="replace" mode="inner"> |
31 | 31 | Get your ticket now |
32 | 32 | </xpath> |
33 | | - <!-- Left column : names --> |
34 | | - <xpath expr="//ul/t/t" position="replace" mode="inner"> |
35 | | - Regular ticket |
36 | | - </xpath> |
37 | | - <xpath expr="//ul/t[2]/t" position="replace" mode="inner"> |
38 | | - Regular ticket + hotel |
39 | | - </xpath> |
40 | | - <xpath expr="//ul/t[3]/t" position="replace" mode="inner"> |
41 | | - VIP ticket |
42 | | - </xpath> |
43 | | - <!-- Left column : prices --> |
44 | | - <xpath expr="//ul/t/t[2]" position="replace" mode="inner"> |
45 | | - $19.00 |
46 | | - </xpath> |
47 | | - <xpath expr="//ul/t[2]/t[2]" position="replace" mode="inner"> |
48 | | - $59.00 |
49 | | - </xpath> |
50 | | - <xpath expr="//ul/t[3]/t[2]" position="replace" mode="inner"> |
51 | | - $109.50 |
52 | | - </xpath> |
53 | | - <!-- Right column : names --> |
54 | | - <xpath expr="(//ul)[2]/t/t" position="replace" mode="inner"> |
55 | | - Regular ticket |
56 | | - </xpath> |
57 | | - <xpath expr="(//ul)[2]/t[2]/t" position="replace" mode="inner"> |
58 | | - Regular ticket + hotel |
59 | | - </xpath> |
60 | | - <xpath expr="(//ul)[2]/t[3]/t" position="replace" mode="inner"> |
61 | | - VIP ticket |
| 33 | + |
| 34 | + <!-- Left column --> |
| 35 | + <xpath expr="//ul/t" position="attributes"> |
| 36 | + <attribute name="name.translate">Regular ticket<attribute> |
| 37 | + <attribute name="price.translate">$19.00<attribute> |
62 | 38 | </xpath> |
63 | | - <!-- Right column : prices --> |
64 | | - <xpath expr="(//ul)[2]//t[2]" position="replace" mode="inner"> |
65 | | - $25.00 |
| 39 | + <xpath expr="//ul/t[2]" position="attributes"> |
| 40 | + <attribute name="name.translate">Regular ticket + hotel<attribute> |
| 41 | + <attribute name="price.translate">$59.00<attribute> |
66 | 42 | </xpath> |
67 | | - <xpath expr="(//ul)[2]/t[2]/t[2]" position="replace" mode="inner"> |
68 | | - $65.00 |
| 43 | + <xpath expr="//ul/t[3]" position="attributes"> |
| 44 | + <attribute name="name.translate">VIP ticket<attribute> |
| 45 | + <attribute name="price.translate">$109.50<attribute> |
69 | 46 | </xpath> |
70 | | - <xpath expr="(//ul)[2]/t[3]/t[2]" position="replace" mode="inner"> |
71 | | - $115.50 |
| 47 | + |
| 48 | + <!-- Left column --> |
| 49 | + <xpath expr="(//ul)[2]/t" position="attributes"> |
| 50 | + <attribute name="name.translate">Regular ticket<attribute> |
| 51 | + <attribute name="price.translate">$25.00<attribute> |
| 52 | + </xpath> |
| 53 | + <xpath expr="(//ul)[2]/t[2]" position="attributes"> |
| 54 | + <attribute name="name.translate">Regular ticket + hotel<attribute> |
| 55 | + <attribute name="price.translate">$65.00<attribute> |
| 56 | + </xpath> |
| 57 | + <xpath expr="(//ul)[2]/t[3]" position="attributes"> |
| 58 | + <attribute name="name.translate">VIP ticket<attribute> |
| 59 | + <attribute name="price.translate">$115.50<attribute> |
72 | 60 | </xpath> |
73 | 61 | </template> |
74 | 62 |
|
|
0 commit comments