On mar, 2016-11-15 at 10:05 +0100, Hussein Shafie wrote:
> Excuse me to insist on this, but we really, really, don't want you to 
> loose your time with our product:
> 
> --> If you are really used to work successfully with <xref 
> xlink:href="#foo">, which seems to be the case given what you wrote 
> below, then our product will get in the way. In such case, we strongly 
> recommend that you consider using another DocBook editor. <--
> Detailed explanations below.
> 
> 
> 
> 
> On 11/14/2016 02:17 PM, Vincent Bossier wrote:
> > 
> > 
> > There is one difference though: <xref xlink:href="#foo"> allows cross-
> > referencing across different files. I use typically this when I work on a
> > large
> > document and store each chapter in a dedicated file.
> > 
> I'm sorry but I don't understand what you wrote.
> > To my knowledge, xlink:href="#foo" precisely means "link to foo" where 
> anchor "foo" is found in this file (just like with HTML). While 
> linkend="foo" means "link to foo" wherever anchor "foo" may be.

You are right, <xref linkend="foo"/> works well even across different files
included from a top file with xinclude.

The xlink:href stuff must be a left-over from previous experiments.

Sorry for the time loss and thank you for you support.

[snip]

Vincent

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to