You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Wim Deblauwe <wi...@hotmail.com> on 2004/01/12 16:48:00 UTC

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: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org