Simple question -- consider this fragment:
<quote xml:id="q41" next="#q42">Why,</quote>
<quote xml:id="q42">are we?</quote>
When the first <quote/> element is the context item, what is an
idiomatic XPath expression to select the second <quote/> element by its
"id(@next)" doesn't work because of the hash character, and
"id(substring(@next, 2))" seems kludgy. The first option would work if I
could do away with the hash character, but the hash character is
mandated by the TEI.
I am sorry if this has been answered before, nothing relevant came up
for my search.