4 ms·
That seems to depend on the presence of ids. Can my example page (with correct uri and fragment syntax) work in this scheme? There is no id associated with the
by antidoh 14y ago
That seems to depend on the presence of ids. Can my example page (with correct uri and fragment syntax) work in this scheme? There is no id associated with the part that I tried to link to.
- saurik 14y agoXPointer allows arbitrary XPath selectors; in fact, the very first example in the specification is exactly a substring match. I am thereby somewhat confused as to where you got the identifier requirement. xpointer(string-range(//P,"a little hat ^"))
- antidoh 14y agoI want to be able to make a link, usable in the browser address field as a link or clickable from a mail message, so I was looking at URI fragments after looking at XPointer. I don't think you can make much more that a #id based link at the moment. A browser could implement your example, but I don't think they do at the moment.
- saurik 14y agoI did not claim that XPointer was implemented: I claimed that it was standardized. You asked for this functionality, and said that ideally it would be a W3C standard; I am telling you that the standard already exists: it is called XPointer, and it has exactly the functionality you want.