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 Roberto Villarreal <rv...@mktec.com> on 2009/03/01 00:03:44 UTC

Re: Problem viewing SVG in JSVGCanvas

[snip]
>    I guess I would consider it 'a' (you are a little unclear what 'part of
> the
> tree' means) of course using the 'xml:base' attribute makes it part of the
>
> DOM and the pretty printer would display it.  One of the attributes of
> HTML/SVG
> is that it's pretty easy to move content around the Web this is
> facilitated by all
> references being relative to how you found the base document, if the base
> URL was
> 'hard coded' into the content this wouldn't be as easy.

Okay, I think you've just opened my eyes!  The way you explained it ("relative 
to how you *found* the base document") makes all the behavior I've seen make 
sense.  The major piece I was missing was that the path passed in to setURI() 
or indirectly through setSVGDocument() is used for more than just loading the 
actual document.

Thanks again for your input and patience.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org