Pere Porta wrote:
>  
> I'm unable to set a link within a Dita document  -let us call it
> ddd.dita-  to a given element (section, paragraph, table...) of another
> Dita document of the same type (*) -let us call it mmm.dita-  , which is
> saved in the same directory as ddd.dita.
> That is to say: I want to set in the document called  ddd.dita a link 
> to section 2 of mmm.dita. This section 2 has id = s2
>  

You *must* specify an id attribute for all the topics you create.

Let suppose:

* the id of the topic (or concept or task or reference) contained in
ddd.dita is DDD,

* the id of the topic contained in mmm.dita is MMM.



> Questions:
>  
> 1. What exactly have I to write in the href on the actual document
> (ddd.dita) so that section 2 of the target document mmm.dita opens at
> converting them to html or to pdf and then clicking at the link text in
> the first document (ddd.dita)?
>  

Let's suppose file ddd.dita and file mmm.dita are found in the same
directory.

You need to specify href = mmm.dita#MMM/s2

All this is explained in great length in this tutorial "DITA for the
Impatient" -- http://www.xmlmind.com/_tutorials/DITA/index.html . Please
take the time to read it.



> 2. Would it be the same if the actual document is (for instance) a Topic
> document and the target document is of another Dita type, let us say
> Concept or Task?

Yes, the kind of a topic does not matter.



>  
>  
> (*) Both are a Topic document.
>  


---
PS: Your question is bout DITA and not about our product XMLmind XML
Editor. Note that we have no obligation to answer this kind of questions.



 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to