Andreas Kemkes wrote: > I've been experimenting a bit with transclusions using > xinclude and it works fine with the following xml > fragment: > > <sidebar type="foo" ref="foo"> > <xi:include > xmlns:xi="http://www.w3.org/2001/XInclude" > xpointer="foo" /> > </sidebar> > > What I would like is that just using > > <sidebar type="foo" ref="foo"/> > > would behave the same. > > How can I best approach this? > > Is this just a matter of configuration, or do I need > to look at/use the conref implementation for DITA?
Precisely, the best approach is to look at the source code of the conref implementation for DITA. (XMLmind XML Editor Professional Edition comes with the full source code of the product, and this includes of course, the source code of the DITA add-on.) > I would also like to hear about any recommended > practices and which approach other XMLMind users are > taking in this area. We recommend to follow what is explained in the tutorial: http://www.xmlmind.com/xmleditor/_distrib/doc/user/tutorial_modular_document.html especially what's found in the "Extensive use of the "Copy as Reference" command" section: http://www.xmlmind.com/xmleditor/_distrib/doc/user/tutorial_modular_document.html#extensive_copy_as_reference ( For DITA, it is: http://www.xmlmind.com/xmleditor/_distrib/doc/dita/setconref.html )

