If my document has a <ref> element with a @target attribute it is (correctly) rendered as an HTML link. However, whether clicking on it is successful or not seems rather arbitrary. A @target value like "#foo" never works (looks for "$rw@target") even if there is an element with @xml:id="foo" somewhere in the document. If it's a URL, like "http://whatever" then it works -- unless there is a # in the URL. So I can refer to the whole of a chapter of the TEI Guidelines, but not to a particular subsection. This is annoying.
If my document has a <ref> element with a @target attribute it is (correctly) rendered as an HTML link. However, whether clicking on it is successful or not seems rather arbitrary. A @target value like "#foo" never works (looks for "$rw@target") even if there is an element with @xml:id="foo" somewhere in the document. If it's a URL, like "http://whatever" then it works -- unless there is a # in the URL. So I can refer to the whole of a chapter of the TEI Guidelines, but not to a particular subsection. This is annoying.