簡體   English   中英

XPath和FilePath

[英]XPath with FilePath

是否有用於同時表達文件路徑和xpath的標准(或實用)符號?

如...

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

我相信我在其他地方看到過,但找不到該頁面。

[更新]

我想我在問XPointer :)

您應該使用#代替:

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

或更短的版本:

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM