Thank you.

I'm going to read the documents and try to solve my problem.

Nastasia Saby


> Date: Mon, 1 Aug 2011 15:38:29 +0200
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Relative URL Problem
> 
> > Excuse-me. I come to you because I have a problem with my chm.
> 
> Both your questions are directly related to DITA usage, and not to our 
> tool: XMLmind DITA Converter (ditac). See below.
> 
> 
> 
> 
> > I have linked to my pages local html pages. When I launch the publication, 
> > I get a chm with absolute links. Indeed, those links point to an absolute 
> > url. So, I cannot move my chm in another computer.
> > I notice the same problem for the publication in XHTML.
> >
> > Do you know a solution ? Am I wrong ?
> 
> You need:
> 
> [1] To specify a relative URL in the DITA source file.
> [2] Specify attribute scope="external".
> [3] Specify attribute format="html".
> 
> Example of such link:
> 
> <xref href="../../changes.html"
>        scope="external"
>        format="html">History of changes</xref>
> 
> See http://docs.oasis-open.org/dita/v1.2/os/spec/langref/xref.html#xref
> 
> Recommended reading: "DITA for the Impatient" -- 
> http://www.xmlmind.com/tutorials/DITA/index.html
> 
> 
> 
> >
> > And can I add into my pages a .swf or a video document ?
> 
> You need to insert in your DITA source file an <object> element pointing 
> to the video.
> 
> See http://docs.oasis-open.org/dita/v1.2/os/spec/langref/object.html#object
> 
> The DITA <object> element is almost indentical to HTML's <object> element.
> 
> See http://www.w3.org/TR/html401/struct/objects.html#h-13.3
> 
> 
> 
> 
> >
> > Thank you very much.
> >
> > Nastasia Saby
> 
                                          
 
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to