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

Storing data related to SVG elements

From: Dany Bouchard <db@dbxgeomatics.com>
Date: Thu, 6 Jul 2000 08:46:49 -0400
Message-ID: <000e01bfe748$4126b2e0$5701c818@dbxgeomatics.com>
To: <www-svg@w3.org>
What would be the recommended approach to store (ideally directly in a SVG document) data about an SVG element ?
For example an SVG map containing points that represent cities that have attribute information such as Name (String), Population (Integer), etc.
What's the best place for this information to be held in order to make it available to the user using javascript interaction ? I am looking for an approach that is opened since there could be quite a bit of attribute data associated with an element sometimes.
Are the <title> and <desc> elements are appropriate for this and/or what kind of Marked-up text from other namespaces can be used ? 
In the second example is section 6.4 (the 'desc' and 'title' element) with the xml namespace mydoc, would this info (ex: para) be available through the SVG's DOM ?

Thanks in advance !

This mailing list is a gold mine !

Dany Bouchard
DBx Geomatics
38 de l'Orbite
Hull, Québec
J9A 3C7
Téléphone/Telephone: 819.743.3870
Télécopieur/Fax: 819.775.3264
Courrier électronique/Email: db@dbxgeomatics.com
Page Web/Web site: http://www.dbxgeomatics.com/home.asp
Vitrine technologique SVG / SVG Technology Preview: http://www.dbxgeomatics.com/svg.asp
Received on Thursday, 6 July 2000 08:47:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:53:50 UTC