This project has moved. For the latest updates, please go here.

mediaLink and Link

Topics: User Forum
Jan 29, 2013 at 8:12 AM


I would like set a Link on a picture. Then I wrote this :


<link xlink:href="af300e54-78a7-449b-99fe-051dabc4aff3"><mediaLink><image xlink:href="img" /></mediaLink></link>


but picture isn't display. I just see the title of the page refered by "href" tag.

I created a HTML file and I use "ConvertHtmlToMaml.exe"  but the code is similar...

Isn't it possible to make à link on a picture ?



Jan 29, 2013 at 7:33 PM

MAML link elements are defined as only accepting inner text in the schema, not other elements.  Ignoring that, they are converted to conceptualLink elements by the XSL transformation and those are then handled by the ResolveConceptualLinksComponent build component which doesn't look for anything other than simple inner text either.  A workaround would be to use the markup element to embed the equivalent anchor and image HTML elements but that may not work in MS Help Viewer and would need to be tested.