【发布时间】:2013-12-15 06:21:05
【问题描述】:
下面是一个示例 XML。
<p>
Thisisgood
</p>
<p>
Thisisbad
</p>
<p>
This
<br>
is
<br>
acceptable
</p>
<p>
Thisisfine
</p>
我想要结果:
Thisisgood
Thisisbad
Thisisacceptable
Thisisfine
我在 Google Doc (=importXML) 中使用 Xpath //p/text()。这导致:
Thisisgood
Thisisbad
This is acceptable (appearing in different cells)
Thisisfine
什么 XPath 会给我我需要的结果?谢谢。
【问题讨论】:
标签: xpath line-breaks rapidminer