W3C home > Mailing lists > Public > www-svg@w3.org > December 2002

custrom svg attributes?

From: <randy.baron@Roche.COM>
Date: Tue, 17 Dec 2002 14:45:50 +0100
To: www-svg@w3.org
Message-id: <01KQ54TUBMP297I6G0@Roche.COM>


   I was wondering if anyone could tell me if it is allowed to make custom svg attributes?
For example, "myatt":

<g id="first_group">
         <text x="180" y="190" id="TestText" myatt="abc" textlength="109">some text</text>
I didn't see anything to confirm this in the svg spec, mailing lists, searches, etc.
   I tried it using the Adobe plug-in for Internet Explorer and it opened without a problem
but I would like to know if it is somehow 'officially' allowed, or does one have to make a
local, custom SVG DTD in order to avoid any obscure problems.  In the end I will be
displaying the svg with Batik/Java and would like to add some element related data
as an attribute.

Received on Tuesday, 17 December 2002 08:48:40 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:54 UTC