Maintaining Attributes in Users Namespace

Bug #170466 reported by Bug Importer
2
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Wishlist
Unassigned

Bug Description

Greetings

Described simply, I would like to maintain the attributes
of a shape that exist in a namespace other
than "SVG","inkscape" or "sodipodi".

That is, I would like to define my own metadata for a
particular shape and be able to maintain it within
theinkscape gui.

An initial proposal for a solution (probably illconceived)
would be to implement the
element "inkscape:userattributes" that would be
subordinate to a <g>. This element would have
attributes whose names were not validated, but simply
displayed in a name-value-pair table-control dialog box
that could by diplayed from the context menu for the
selected shapes in the group. The value column would
be editable.

Using the XML editor would, I suspect, be a little
unfriendly to the expected user community

Is the Extension/Plugin mechanism meant to handle this.
If so, does a detailed description of this mechanism exist.

Regards

Endre Nagy
<email address hidden>

Revision history for this message
Peter Moulder (pjrm) wrote :

As a temporary solution, the XML editor already works,
either with inkscape:userattributes="foo=bar;baz=qux"
attributes, or with rta:foo="bar" rta:baz="qux" attributes
(though the latter would require that the outermost <svg>
element include an attribute
xmlns:rta="http://rta.nsw.gov.au/something.dtd"; that URL
doesn't need to exist, it's just a string identifier).

Revision history for this message
Peter Moulder (pjrm) wrote :

Alan Horkan sent mail (to inkscape-devel and Endre Nagy;
Tue, 23 Nov 2004 16:42:33 +0000) relevant to this.

One possible implementation of the idea would be something
like say roundhole or dropshadow in the share/extensions
directory. Note that this extensions functionality won't be
in 0.40, but might be in CVS relatively soon after 0.40.
Inkscape would provide a menu of such extensions; selecting
one would invoke an external program that could allow
editing the attribute values and feeding inkscape with the
updated SVG.

Ted is the person to hassle^Wspeak to on jabber
(http://www.inkscape.org/discussion.php) if you're
interested in this approach.

Ryan Lerch (ryanlerch)
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.