[ ] ns1:R12_has_referred_to_entity should have ID DWbibl04025 in URI
[ ] Also: The [n] in the end seems to be the same in every case (here, "0" would be correct)
Desired outcome for this line:
ns1:R12_has_referred_to_entity <https://sk.acdh.oeaw.ac.at/DWbibl04025/passage/0> ;
If in the citedRange/ref type int the @target refers to a target citedRange with @wholeText="yes", then the xml:id of the target citedRange
If in the citedRange/ref type int the @target refers to a target citedRange WITHOUT @wholeText="yes", then the parent::bibl/@xml:id of the target citedRange
The number at the end indicates the position of the target citedRange in its bibl (currently it seems like it indicates - wrongly - the position of the source citedRange instead).
Weirdly I cannot reproduce the problem. I debugged the xml:template that creates the above mentioned INT3 statement and I get the wanted result without any changes...
ns1:R12_has_referred_to_entity
should have ID DWbibl04025 in URIDesired outcome for this line:
ns1:R12_has_referred_to_entity <https://sk.acdh.oeaw.ac.at/DWbibl04025/passage/0> ;
@wholeText="yes"
, then the xml:id of the target citedRange