I have been fussing around a bit with xpath as a more concise format for selecting nodes (than looping or recursing through levels of the DOM tree)
The examples by Georg Held (at carto.net -- http://www.carto.net/papers/svg/samples/xslt/ ) using XSLT have made me think it is finally time for me to get around to learning xslt and xpath. What I've read about xpath in IE, makes me think I may wait 'til IE8 to worry about that -- but for FF and Opera I've played a bit with some things. I am able to find SVG nodes in a limited way with a statement like: var c = document.evaluate( "//*[5]", document, null, XPathResult.ANY_TYPE, null ); where the expression "//*[5]" seems to match the fifth node in an SVG DOM, just fine. (I gather xpath uses 1-based subscripts rather than the 0-based subscripts of JavaScript -- just to keep us on our toes, I suppose.) The problem is that I can't seem to get anything more general like "rect" or ".//ellipse" or "//circle" to find a collection of named tags -- even though my code for doing such does work fine in XHTML. Can anyone point me to some really simple working examples of the use of XPATH in SVG? thanks in advance, David [Non-text portions of this message have been removed] ----- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/

