XPath with FilePath

278 Views Asked by At

Is there any standard (or practical) notation for expressing filepath and xpath together?

Such as...

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

I believe I saw somewhere else but I can't find the page.

[UPDATE]

I think I'm asking about XPointer. :)

1

There are 1 best solutions below

0
Gerben Abbink On BEST ANSWER

You should use a # instead:

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

or, a shorter version:

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