DocBook5 and XLink
Posted: Mon Feb 18, 2013 1:10 pm
Hi,
It would be nice, in oXygen Author, to be able to choose to have the DocBook5 linking dialog include the target reference in @xlink:href rather than in @linkend. The latter is an IDREF and thus wants the target ID to be in the same physical file, which frequently isn't the case when writing modular documentation.
Interestingly, it is already possible to choose a target file when creating the (xref) link. The dialog will happily insert the target ID in a @linkend. Wouldn't it be more logical to use the @xlink:href in those cases, at least, considering that the @linkend will be invalid?
I have a situation where my writers update around 600 or so smaller modules with an occasional xref to another module. The end document will always be one big XML file published as a PDF, but having the contents in small modules is a practical necessity.
Perhaps a fragment identifier for <xref> and <link> (xlink:href="doc.xml#my-id") would be more correct, but in my current case, an ID is enough.
All the best,
Ari Nordström
It would be nice, in oXygen Author, to be able to choose to have the DocBook5 linking dialog include the target reference in @xlink:href rather than in @linkend. The latter is an IDREF and thus wants the target ID to be in the same physical file, which frequently isn't the case when writing modular documentation.
Interestingly, it is already possible to choose a target file when creating the (xref) link. The dialog will happily insert the target ID in a @linkend. Wouldn't it be more logical to use the @xlink:href in those cases, at least, considering that the @linkend will be invalid?
I have a situation where my writers update around 600 or so smaller modules with an occasional xref to another module. The end document will always be one big XML file published as a PDF, but having the contents in small modules is a practical necessity.
Perhaps a fragment identifier for <xref> and <link> (xlink:href="doc.xml#my-id") would be more correct, but in my current case, an ID is enough.
All the best,
Ari Nordström