How to add a hyperlink from a text in the SVG image
I have an svg image which represents an Oracle Server Model diagram. I want to be able to click on the name of a (e.g. DESC_E) column so that an HTML or PDF file is opened (e.g. the page will describe what kind of informtion is stored in column DESC_E.)
How can I achieve this?
Is it also possible to have "hover/pop-up" text to appear when the mouse is moved over to a column?
A simple working example would be very appreciated.
Below is a piece of code representing the Server model diagram.
THanks
=======
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN'
'http://
<svg fill-opacity="1" xmlns:xlink="http://
><!--Generated by the Batik Graphics2D SVG Generator--><defs id="genericDefs"
/><g
><defs id="defs1"
><clipPath clipPathUnits=
><path d="M0 0 L968 0 L968 653 L0 653 L0 0 Z"
/></clipPath
><clipPath clipPathUnits=
><path d="M0 0 L0 150 L307 150 L307 0 Z"
/></clipPath
></defs
><g fill="white" font-size="10" font-family=
><rect x="0" width="968" height="653" y="0" clip-path=
/></g
><g fill="rgb(
><rect x="0" width="306" height="149" y="0" clip-path=
/><rect x="0" y="0" clip-path=
/><text x="62" y="11" clip-path=
>
><line clip-path=
/><text fill="blue" x="2" xml:space=
> </text
><text fill="red" x="16" xml:space=
>*</text
><text fill="black" x="26" xml:space=
>
><text fill="green" x="176" xml:space=
>VARCHAR2 (4 BYTE)</text
><text fill="black" x="2" xml:space=
> </text
><text fill="red" x="16" xml:space=
></text
><text fill="black" x="26" xml:space=
>
><text fill="green" x="176" xml:space=
>VARCHAR2 (4 BYTE)</text
><text fill="black" x="2" xml:space=
> </text
><text fill="red" x="16" xml:space=
></text
><text fill="black" x="26" xml:space=
>
><text fill="green" x="176" xml:space=
>VARCHAR2 (4 BYTE)</text
><text fill="black" x="2" xml:space=
> </text
><text fill="red" x="16" xml:space=
>*</text
><text fill="black" x="26" xml:space=
>DESC_E</text
><text fill="green" x="176" xml:space=
>VARCHAR2 (80 BYTE)</text
><text fill="black" x="2" xml:space=
> </text
><text fill="red" x="16" xml:space=
>*</text
><text fill="black" x="26" xml:space=
>DESC_F</text
><text fill="green" x="176" xml:space=
>VARCHAR2 (80 BYTE)</text
><text fill="black" x="2" xml:space=
> </text
><text fill="red" x="16" xml:space=
></text
><text fill="black" x="26" xml:space=
>
><text fill="green" x="176" xml:space=
>VARCHAR2 (30 BYTE)</text
><text fill="black" x="2" xml:space=
> </text
><text fill="red" x="16" xml:space=
></text
><text fill="black" x="26" xml:space=
>
><text fill="green" x="176" xml:space=
>VARCHAR2 (30 BYTE)</text
><text fill="black" x="2" xml:space=
> </text
><text fill="red" x="16" xml:space=
>*</text
><text fill="black" x="26" xml:space=
>
><text fill="green" x="176" xml:space=
>VARCHAR2 (1 BYTE)</text
></g
></g
></svg
>
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Inkscape Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Vanib for more information if necessary.