Its weird that I have to use to a prefix for svg tags. like
<svg:text> or <svg:rect> instead of <text> or <rect>. Why do I have to
do that. One peculiar thing in my situation is that I use xsql to
retrieve the data in xml format. After getting the data I stream it
into xsl stylesheet which has svg tags in it and thus gives me a
graphical output on the page. So I dont have a svg file as such on the
browser but the content(if we view source) of the page is 100% svg. 
If I use the regular svg tags(like <text> etc) in that xsl file, it
shows those tags in xml format on the browser saying no stylesheet was
attached with the xml file.

Here is the code snippet of the xsl file with svg tags in it:

 <svg:svg xmlns:svg="http://www.w3.org/2000/svg"; viewBox="90%"
xmlns:xlink="http://www.w3.org/1999/xlink";>
   
    <xsl:for-each
      select="page/a/b/row[generate-id()=generate-id(key('types',
d_type)[1])]" >
            <svg:text x="12" y="12" font-family="Verdana"
font-size="10"  fill="black">         
              <xsl:value-of select="d_type"/>
            </svg:text> 
            <svg:rect x="12" y="12" rx="2" ry="2" width="40" height="60"
                      style="fill:grey;stroke-width:.5; " >
            </svg:rect>

       </xsl:for-each>    

  </svg:svg>

Now the problem is that if I try putting html in it.or try to make the
rectangles as hyperlinks it just make them dissappear. So I cant even
view any rectangles if I try to put any html in it or try making them
hyperlinks. 
Does somebody have a better way of achieving this?


------------------------------------

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to