You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Alessandro Cattini <al...@yahoo.it> on 2008/08/04 15:18:29 UTC

add a simple tag to an svg Document

Hi, how can I add, from scratch, the following tag(s) to Document mySvgDocument?


<svg ...>

<!-- START OF TAG TO ADD>
<g
     id="gio_78"
     style="display:inline"
     transform="translate(317.60809,510.72408)">
    <image
       y="350"
       x="150"
       id="imgio_78"
       height="60"
       width="60"
       xlink:href="/home/alessandro/myImage..png" />
</g>
<!-- END OF TAG TO ADD>

</svg>

Thanks for your attention




      Posta, news, sport, oroscopo: tutto in una sola pagina. 
Crea l&#39;home page che piace a te!
www.yahoo.it/latuapagina

Re: add a simple tag to an svg Document

Posted by th...@kodak.com.
Hi Alessandro,

Alessandro Cattini <al...@yahoo.it> wrote on 08/28/2008 
05:27:09 AM:

> Hi, I'm trying to add a text element to an svg file created from 
> scratch, but I don't manage to display the text using attributeNS.
> How can I do it?

   I said createElementNS try the following google search:

        http://www.google.com/search?q=SVG+createElementNS+text

   The first link (KevLinDev) covers most of what you want 
probably.  All Of Kevin Lindsey's stuff is top notch.

> --- Mar 5/8/08, thomas.deweese@kodak.com <th...@kodak.com> 
> ha scritto:
> Da: thomas.deweese@kodak.com <th...@kodak.com>
> Oggetto: Re: add a simple <g> tag to an svg Document
> A: batik-users@xmlgraphics.apache.org
> Cc: batik-users@xmlgraphics.apache.org
> Data: Martedì 5 agosto 2008, 10:13

> 
> Hi Alessandro,
> 
> Alessandro Cattini <al...@yahoo.it> wrote on 08/04/2008
> 09:18:29 AM:
> 
> > Hi, how can I add, from scratch, the following tag(s) to Document 
> > mySvgDocument?
> 
>    I suggest you search the list for createElementNS 
> and setAttributeNS. 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da
> tanto spazio gratuito per i tuoi file e i messaggi 
> http://mail.yahoo.it 

Re: add a simple tag to an svg Document

Posted by Alessandro Cattini <al...@yahoo.it>.
Hi, I'm trying to add a text element to an svg file created from scratch, but I don't manage to display the text using attributeNS.
How can I do it?

--- Mar 5/8/08, thomas.deweese@kodak.com <th...@kodak.com> ha scritto:
Da: thomas.deweese@kodak.com <th...@kodak.com>
Oggetto: Re: add a simple <g> tag to an svg Document
A: batik-users@xmlgraphics.apache.org
Cc: batik-users@xmlgraphics.apache.org
Data: Martedì 5 agosto 2008, 10:13



Hi Alessandro,



Alessandro Cattini <al...@yahoo.it>
wrote on 08/04/2008 09:18:29 AM:



> Hi, how can I add, from scratch, the following tag(s) to Document


> mySvgDocument?



   I suggest you search the list for createElementNS

and setAttributeNS.



__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 

Re: add a simple tag to an svg Document

Posted by th...@kodak.com.
Hi Alessandro,

Alessandro Cattini <al...@yahoo.it> wrote on 08/04/2008 
09:18:29 AM:

> Hi, how can I add, from scratch, the following tag(s) to Document 
> mySvgDocument?

   I suggest you search the list for createElementNS
and setAttributeNS.