S
sdcx
Unregistered / Unconfirmed
GUEST, unregistred user!
我的xml里包含了一个"字符,我怎么用path取出来?
我用
selectSingleNode('/book[author="Ralls, "Kim"]/author')
selectSingleNode('/book[author="Ralls, "Kim"]/author')
都不行,应该怎么表示?
我是再delphi下msxmldo
m操作
xml代码如下
<book id="bk102">
<author>Ralls, "Kim</author>
<title>Midnight Rain</title>
<genre>Fantasy</genre>
<price>5.95</price>
<publish_date>2000-12-16</publish_date>
<description>A former architect battles corporate zombies,
an evil sorceress, and her own childhood to become queen
of the world.</description>
</book>
我用
selectSingleNode('/book[author="Ralls, "Kim"]/author')
selectSingleNode('/book[author="Ralls, &quot;Kim"]/author')
都不行,应该怎么表示?
我是再delphi下msxmldo
m操作
xml代码如下
<book id="bk102">
<author>Ralls, "Kim</author>
<title>Midnight Rain</title>
<genre>Fantasy</genre>
<price>5.95</price>
<publish_date>2000-12-16</publish_date>
<description>A former architect battles corporate zombies,
an evil sorceress, and her own childhood to become queen
of the world.</description>
</book>