下面是一个XML示例。p(段落)中的xpath br(换行符)
<p>
Thisisgood
</p>
<p>
Thisisbad
</p>
<p>
This
<br>
is
<br>
acceptable
</p>
<p>
Thisisfine
</p>
我想要的结果:
Thisisgood
Thisisbad
Thisisacceptable
Thisisfine
我使用XPath //p/text()
在谷歌文档(= IMPORTXML)。这导致:
Thisisgood
Thisisbad
This is acceptable (appearing in different cells)
Thisisfine
什么XPath会给我我需要的结果?谢谢。
感谢您的信息。 – user3103778