You have used the namespace xlink within the document, but have probably
not declared a uri for it.  You need to add an attribute like
xmlns:xlink="http://something.somewhere.org"; either to the root node or
at the level where you need the name space.

-----Original Message-----
From: Wim Deblauwe [mailto:[EMAIL PROTECTED] 
Sent: 12 January, 2004 15:48
To: [EMAIL PROTECTED]
Subject: xlink problem


I got this strange error:

"The prefix "xlink" for attribute "xlink:href" associated with an
element type "use" is not bound"

does anybody know what this means?

This is from my xsl file:

<fo:instream-foreign-object>
  <svg xmlns="http://www.w3.org/2000/svg"; width="17cm" height="13cm"
viewBox="0 0 1700 1300">
   <xsl:call-template name="drawYTicks"/>
   <xsl:call-template name="drawXTicks"/>
   <!-- draws axis titles -->
   <path id="TextPath" d="M 40 600
         C 40 100 40 100 40 100"/>
    <use xlink:href="#TextPath" style="fill:none; font-weight:normal;"/>
    <text style="font-size:35; fill:black">
      <textPath xlink:href="#TextPath">
           dl/L for a JND
       </textPath>
     </text>
     <text x="790" y="1210" style="font-size:35; fill:black;
font-weight:normal;">JND indice</text>
      <!-- draws legend -->
      <polyline points="1300,100 1400,100" style="fill:none;
stroke:blue; stroke-width:1; stroke-dasharray:5;"/>
      <text x="1410" y="110" style="font-size:35; fill:black;
font-weight:normal;">Measured Line</text>
      <polyline points="1300,150 1400,150" style="fill:none;
stroke:green; stroke-width:1;"/>
      <text x="1410" y="160" style="font-size:35; fill:black;
font-weight:normal;">Target Line</text>
      <polyline points="1300,200 1400,200" style="fill:none; stroke:red;
stroke-width:1; stroke-dasharray:10 5;"/>
      <text x="1410" y="210" style="font-size:35; fill:black;
font-weight:normal;">Warning Line</text>
      <polyline points="1300,250 1400,250" style="fill:none; stroke:red;
stroke-width:1;"/>
      <text x="1410" y="260" style="font-size:35; fill:black;
font-weight:normal;">Error Line</text>

       <svg xmlns="http://www.w3.org/2000/svg"; x="150" y="100"
width="1500" height="1000" viewBox="0 0 1500 1000">
         <polyline points="0,0 0,1000" style="fill:none; stroke:black;
stroke-width:1"/>
         <polyline points="0,1000 1500,1000" style="fill:none;
stroke:black; stroke-width:1"/>
         <xsl:call-template name="drawMeasuredLine"/>
         <xsl:call-template name="drawTargetLine"/>
         <xsl:call-template name="drawToleranceLines"/>
       </svg>
</svg>
</fo:instream-foreign-object>

regards,

Wim




------------------
Wim Deblauwe
http://listen.to/sphinx - Heavy Metal with female vocals
http://listen.to/vexed - Rock Music

_________________________________________________________________
De nieuwe Pirelli 2004 kalender al gezien?
http://auto.msn.be/pirelli2004/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-----------------------------------------------------------------
        Visit our Internet site at http://www.reuters.com

Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit http://www.reuters.com/messaging

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to