MenTaLguY wrote:
On Wed, 26 Apr 2006 13:16:32 -0500 (EST), ted@...11... wrote:
So, how about:
<path d="M 1 2 L 3 4"> <inkscape:patheffect id="org.inkscape.patheffect.a" val1="bob" val2="jack" /> <inkscape:patheffect id="org.inkscape.patheffect.b" var="true" /> <inkscape:patheffect id="org.inkscape.patheffect.a" val1="alvin" val2="jack" /> </path>
Looks good generally.
However, we should reserve id= for uniquely identifying elements within a document. I'd recommend using effect= to identify the effect instead. Inkscape will impose unique id= attributes anyway in this case, which is probably not what you want.
Oops. I didn't notice that. Well, actually, it goes beyond that. An id="" must be unique. And since it lives in the xml: namespace, it must be globally unique in the entire document.
name="" is probably better, since its commonly used by existing grammars, like svg or odf.
Spec'd here: http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-attribute-types
...and this kinda cool little new thing that appeared recently: http://www.w3.org/TR/xml-id/
bob