Hi Bob, thanks for your answer. Unfortunately, this does not work for me.
I get the image, but no link whatsoever. Using <inlinemediaobject> instead of <mediaobject> has further the effect of removing the caption. The output format I am aiming for is mainly html, it would be nice if it works in the pdf as well, though. I am using docbook-xsl-ns-1.76.1/html/docbook.xsl with either xsltproc or saxonhe9-2-0-3j for conversion. Best regards, Martin On Thu, Nov 11, 2010 at 6:27 PM, Bob Stayton <[email protected]> wrote: > Hi Martin, > The following is valid and works in HTML output: > > <figure> > <title>Figure</title> > <ulink url="http://www.sagehill.net"> > <inlinemediaobject> > <imageobject> > <imagedata format='SVG' fileref='http://example.org/pic.svg' /> > </imageobject> > <caption>caption</caption> > </inlinemediaobject> > </ulink> > </figure> > > Are you trying to get this to work in PDF output? I've found that graphical > links work with some XSL-FO processors and not others. But that would be an > issue with the XSL-FO processor, not the stylesheet. > > Bob Stayton > Sagehill Enterprises > [email protected] > > > ----- Original Message ----- From: "Martin Guetlein" > <[email protected]> > To: <[email protected]> > Sent: Thursday, November 11, 2010 5:46 AM > Subject: [docbook-apps] add ulink to imageobject > > > Hi All, > > How can I add a link to an imageobject? (I found an old blog post that > did not work for me: > http://www.mail-archive.com/[email protected]/msg03316.html) > > Example code on how I use imageobject is below. I tried to add 'ulink' > at all possible levels, without success. > > Thanks in advance and best regards, > Martin > > > <figure> > <title>Figure</title> > <mediaobject> > <imageobject> > <imagedata format='SVG' fileref='http://example.org/pic.svg' /> > </imageobject> > <caption>caption</caption> > </mediaobject> > </figure> > > > -- > Dipl-Inf. Martin Gütlein > Phone: > +49 (0)761 203 8442 (office) > +49 (0)177 623 9499 (mobile) > Email: > [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > -- Dipl-Inf. Martin Gütlein Phone: +49 (0)761 203 8442 (office) +49 (0)177 623 9499 (mobile) Email: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
