17 May 2012 19:32
Best Practise of Referencing Between Modules in Assemblies?
Thomas Schraitle <tom_schr <at> web.de>
2012-05-17 17:32:29 GMT
2012-05-17 17:32:29 GMT
Hi,
as I'm currently playing with DocBook assemblies, I'm wondering about the
"best practise" of referencing from one module into another.
The "classical" (or usual) way is to get the ID of your target resource and
put it into a linkend attribute of <xref/>. This establish a strong bond of a
single one-way ID/IDREF which can be checked during validation.
Of course, this method can still be used with assemblies. However, it seems to
me, as this method creates hard dependencies it makes maintaining all the
topics/modules a bit too hard.
For example, if you have several modules in your assembly file, referencing
back and forth, you can't be sure if the target resource is really "used".
Therefor you can't be sure to have a valid single result DocBook document
after the assemble process.
Thinking about assemblies and referencing, some issues are still unresolved to
me and leads me to the following questions:
(1) How do I reference to a chapter when I do not know if this
chapter will be included or not?
(2) Is there a "preferred" method which is still readable and
easy to maintain?
(3) How do I reference to a set of links where I do not know the
exact IDs?
For example, if I have a book with several topics and I want
(Continue reading)
RSS Feed