2013-03-20 50 views
0

是否有任何用于将filepath和xpath表达在一起的标准(或实用)符号?带有FilePath的XPath

如...

xml.xml:///a/b/c 

我相信我看到了别的地方,但我无法找到该网页。

[更新]

我想我问XPointer。 :)

回答

1

您应该使用#代替:

xlink:href="http://dog.com/dogbreeds.xml#xpointer(id('Rottweiler'))" 

,或者更短的版本:

xlink:href="http://dog.com/dogbreeds.xml#Rottweiler"