On Fri, 2004-05-07 at 12:49, Hussein Shafie wrote: > Zahara wrote: > > I am using a /table /in my docbook. Each cell of the table contains a > > preview image (using /mediaobject/). Now, I need to associate another > > image with it. This second image should be opened /in a new window > > /when the preview image is clicked. > > I'm not sure to understand this last sentence.
I think I understand the question, since it seems related to something I wanted to do and did some research on. It seems like Zahara is interested in converting her docbook to HTML, and wants the "preview image" mediaobject to be the hyperlink to another document/image. The problem is that ulink is an inline element, and mediaobjects are block elements which can't be contained within an inline. The only solution I could find for this task is to use the inlinemediaobject. This is less than ideal since captions and block level display don't occur (although when combined with literallayout, the effect is not too bad). The next generation of DocBook (early alpha level of stability) will reportedly allow hyperlink from almost every kind of element (via attributes) without requiring a special linking element. This is still a ways away from mainstream availability though. I hope this addresses the question being asked (it's more docbook related than xxe, but that seemed to be the point of the question). -- William

