Hi Spring,
your sample at: http://www.zuccaralloo.de/devgroup/samples/namespace.svg Regards- -Heiko http://www.zuccaralloo.de/devgroup --- In svg-developers@yahoogroups.com, "tangdm" <[EMAIL PROTECTED]> wrote: > > I converted .shp files into svg file by FME Workbench. Here is a path > from the svg file. > > <path id="obj1" onclick="pop('obj1')" fme:SITE_NAME="Elleh Cre" > fme:EASTING="552777" fme:NORTHING="6488598" fme:SITE_NO="2" > fme:SITE_LTTR="b" d="M 552777,6.4886e+006 m -63.9709,-63.9709 > l0,127.942 127.942,0 0,-127.942 z "/> > > I want to get the values of SITE_NAME,EASTING, NORTHING from my > javascript. They are actually the attibutes of the shapes' underlying > data table. getElementById(obj1).getAttributeNS (null,"fme:SITE_NAME") > doesn't work. It raised an error "svgDoc.getElementById(...) is null > or not an object. > > Please advise how can I get these values. > > Thank you. > > Spring ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/