Skip to main content
Participant
September 29, 2010
Answered

crossrefs in svg files

  • September 29, 2010
  • 1 reply
  • 574 views

I need to embed svg files with clickable crossrefs to other xml elements.

I saw this done with wmf and the fdk8 but wmf is a binary format and our toolchain is written in java.

So here is my question:

Is there a good way to make multiple cross-references in a svg file that would link to other elements in the framemaker xml file?

This topic has been closed for replies.
Correct answer Michael_Müller-Hillebrand

Am 29.09.2010 um 16:40 schrieb silverblight:

I need the links working in my pdf output.

I guess there is no way to do this without the fdk...

I agree. Well, unless you create the PDF using XSL-FO, but that is another story...

- Michael

1 reply

Michael_Müller-Hillebrand
Legend
September 29, 2010

silverblight,

at which moment are those cross-refs meant to become active?

If it is only later in the publishing stage, you could just add links to certain IDs to the SVG and hope to make sure that those IDs are present in the documents. FrameMaker itself does not "look" into SVG source code. Of course, with some extra magic (read: FDK) it is possible to extract the link information from the SVG and create text frames on top of the SVG graphic with crossrefs to the desired locations. Or vice-versa... but this needs a strong business case.

- Michael

Participant
September 29, 2010

If it is only later in the publishing stage, you could just add links to certain IDs to the SVG and hope to make sure that those IDs are present in the documents.

Thanks!
Yes it's just that and I just tried to do it that way. I need the links working in my pdf output. The svg link works in any svg viewer but it won't work when I open the framemaker xml and it won't work after publishing it as pdf. if there is any way to do it without fdk, that would be awesome.

anyways, my svg link looks like this:

    <a xlink:href="../xml/DAVE.xml#N003FEF80.006E76CC">
    <text x="109.15789473684211" y="115.0" font-size="14.0" style="text-anchor:middle" font-family="arial">GND
    </text></a>

and the xml element in DAVE.xml would be:

<Name Id="N003FEF80.006E76CC" PadName="Yes">P0TX_CTL</Name>

but it won't work. I guess there is no way to do this without the fdk...

Michael_Müller-Hillebrand
Legend
September 29, 2010

Am 29.09.2010 um 16:40 schrieb silverblight:

I need the links working in my pdf output.

I guess there is no way to do this without the fdk...

I agree. Well, unless you create the PDF using XSL-FO, but that is another story...

- Michael