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

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?
>Max Newbould
>Galileo Intl.

Received on Thursday, 13 July 2000 17:22:18 UTC