W3C home > Mailing lists > Public > www-svg@w3.org > July 2000

Re: Retrieving children of second <svg> element...

From: Jon Ferraiolo <jferraio@Adobe.COM>
Date: Thu, 13 Jul 2000 14:24:39 -0700
Message-Id: <200007132121.OAA23879@mail-345.corp.Adobe.COM>
To: "Newbould, Max" <max.newbould@Galileo.com>
Cc: "'www-svg@w3.org'" <www-svg@w3.org>
Max,
Such a file isn't legal XML. At least it won't validate, and if it won't
validate against the SVG DTD, then it isn't a legal SVG file.

Only one occurrence of a particular ID is allowed per XML document. The
obvious implication of this is that anyone merging to XML files into a
single XML file will have to find a way to reconcile ID conflicts between
the two original files, such as changing the names of some of the IDs. For
better or worse, that is how XML works.

Jon Ferraiolo
SVG Editor
Adobe Systems Incorporated

At 02:46 PM 7/13/00 -0600, Newbould, Max wrote:
>The SVG document has one main <svg> tag and a secondary(zoomed in) <svg> tag
>which is populated with the first <svg>'s children,  so both <svg>'s have
>the same named children, how would I go about getting the second <svg>'s
>children using getElementById?
>Thanks
>Max Newbould
>Galileo Intl.
> 
Received on Thursday, 13 July 2000 17:22:18 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:19 GMT