Hi Michael,

   This is definitely the correct one:

> > element.setAttributeNS(
> >             XLINK_NAMESPACE_URI, "xlink:href", imageName);

        I would look for silly mistakes around it.  Otherwise you might 
try posting a more
complete code example.  I know that this works as I have samples that do 
this.

"Bishop, Michael W. CONTR J9C880" <[EMAIL PROTECTED]> wrote on 
12/03/2005 02:10:53 AM:

> It's definitely relative; all the files are in the same directory.  It 
doesn't
> complain about missing images, it just says I don't have the tag.  It's 
odd 
> how one way works when placing an image and another works when loading 
an SVG document.

> From: Tonny Kohar [mailto:[EMAIL PROTECTED]

> On Fri, 2005-12-02 at 12:29 -0500, Bishop, Michael W. CONTR J9C880
> wrote:
> > 
> > If I use:
> > element.setAttributeNS(
> >             XLINK_NAMESPACE_URI, "xlink:href", imageName);
> > 
> > I get the "xlink:href" error when I place the Image, but it works fine 
when 
> I load the document later.
> > 
> 
> I do not know why it is error, but make sure the image file path is
> correct either as absolute or relative
> 
> in case of absolute path you need to set the path something like
> file://c:/some_folder/some_image.png
> 
> note the file:// protocol format, check the syntax for url protocol
> 
> Best Regards
> Tonny Kohar
> --
> Sketsa
> SVG Graphics Editor
> http://www.kiyut.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> [attachment "winmail.dat" deleted by Thomas E. DeWeese/449433/EKC] 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to