Difference between revisions of "Inkscape-specific XML attributes"

From Inkscape Wiki
Jump to navigation Jump to search
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
= Inkscape-specific XML attributes =
This listing includes both Inkscape-specific and Sodipodi-specific attributes.   
This listing includes both Inkscape-specific and Sodipodi-specific attributes.   


Line 4: Line 5:


== Sodipodi ==
== Sodipodi ==
=== Namespace ===


'''Namespace URL''': http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd
'''Namespace URL''': http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd


=== QNames ===
'''Canonical prefix''': sodipodi
 
=== Local names ===


* sodipodi:absref - the absolute native (UTF-8) path to a resource (valid on svg:image)
* absref - the absolute native (UTF-8) path to a resource (valid on svg:image)
* sodipodi:arg1
* arg1
* sodipodi:arg2
* arg2
* sodipodi:argument
* argument
* sodipodi:cx
* cx
* sodipodi:cy
* cy
* sodipodi:docbase - the absolute native (UTF-8) directory containing the document
* docbase - the absolute native (UTF-8) directory containing the document
* sodipodi:docname - the absolute native (UTF-8) path to the document
* docname - the absolute native (UTF-8) path to the document
* sodipodi:end
* end
* sodipodi:expansion
* expansion
* sodipodi:insensitive - when set to "1", make an object unselectable via the mouse (valid on any renderable SVG element)
* insensitive - when set to "1", make an object unselectable via the mouse (valid on any renderable SVG element)
* sodipodi:linespacing
* linespacing
* sodipodi:modified - INTERNAL USE ONLY; never serialized; set to "1" when an element has been modified since the file was last saved (valid on svg:svg)
* modified - INTERNAL USE ONLY; never serialized; set to "1" when an element has been modified since the file was last saved (valid on svg:svg)
* sodipodi:nodetypes
* nodetypes
* sodipodi:nonprintable
* nonprintable
* sodipodi:open
* open
* sodipodi:original
* original
* sodipodi:r1
* r1
* sodipodi:r2
* r2
* sodipodi:radius
* radius
* sodipodi:revolution
* revolution
* sodipodi:role
* role
* sodipodi:rx
* rx
* sodipodi:ry
* ry
* sodipodi:sides - the number of convex vertices in a polygon/star
* sides - the number of convex vertices in a polygon/star
* sodipodi:spiral
* spiral
* sodipodi:star
* star
* sodipodi:start
* start
* sodipodi:t0
* t0
* sodipodi:type - if present, an opaque string used to identify the SPObject subclass to use instead of the default subclass for this element type (valid on any element)
* type - if present, an opaque string used to identify the SPObject subclass to use instead of the default subclass for this element type (valid on any element)
* sodipodi:version - the version of Sodipodi which saved this document (valid on svg:svg)
* version - the version of Sodipodi which saved this document (valid on svg:svg)


== Inkscape ==
== Inkscape ==
=== Namespace ===


'''Namespace URL''': http://www.inkscape.org/namespaces/inkscape
'''Namespace URL''': http://www.inkscape.org/namespaces/inkscape
'''Canonical prefix''': inkscape


=== Local names ===
=== Local names ===


* inkscape:collect
* collect
* inkscape:connection-end
* '''connection-end''' - An internal url reference [rfc3987] pointing to which object's center this path's end point is connected to. If not specified, no automatic connection is made.
* inkscape:connection-start
* '''connection-end-point''' - An internal url reference [rfc3987] pointing to which child-object of the ''connection-end'' object. The parent object may be a group tag or a use tag. The point is the center of the child object as it would appear in the rendered object. The default is no-child object and the parent's center point is used.
* inkscape:connector-avoid
* '''connection-start''' - Same as ''connection-end'' but for the start connection
* inkscape:connector-spacing
* '''connection-start-point''' - Same as ''connection-end-point'' but for the start connection child object.
* inkscape:connector-type
* connector-avoid
* inkscape:current-layer
* connector-spacing
* inkscape:cx
* connector-type
* inkscape:cy
* current-layer
* inkscape:dataloss
* cx
* inkscape:document-units
* cy
* inkscape:dstBox
* dataloss
* inkscape:dstColumn
* document-units
* inkscape:dstPath
* dstBox
* inkscape:dstShape
* dstColumn
* inkscape:excludeShape
* dstPath
* inkscape:export-filename
* dstShape
* inkscape:export-xdpi
* excludeShape
* inkscape:export-ydpi
* export-filename
* inkscape:flatsided
* export-xdpi
* inkscape:grid-bbox
* export-ydpi
* inkscape:grid-points
* flatsided
* inkscape:groupmode
* grid-bbox
* inkscape:guide-bbox
* grid-points
* inkscape:guide-points
* groupmode
* inkscape:has_abs_tolerance
* guide-bbox
* inkscape:href
* guide-points
* inkscape:label
* has_abs_tolerance
* inkscape:layoutOptions
* href
* inkscape:marker
* label
* inkscape:object-bbox
* layoutOptions
* inkscape:object-nodes
* marker
* inkscape:object-paths
* object-bbox
* inkscape:object-points
* object-nodes
* inkscape:offset
* object-paths
* inkscape:original
* object-points
* inkscape:output_extension
* offset
* inkscape:pageopacity
* original
* inkscape:pageshadow
* output_extension
* inkscape:radius
* pageopacity
* inkscape:randomized
* pageshadow
* inkscape:rounded
* radius
* inkscape:showpageshadow
* randomized
* inkscape:srcNoMarkup
* rounded
* inkscape:srcPango
* showpageshadow
* inkscape:stockid
* srcNoMarkup
* inkscape:tile-cx
* srcPango
* inkscape:tile-cy
* stockid
* inkscape:tiled-clone-of
* tile-cx
* inkscape:tile-h
* tile-cy
* inkscape:tile-w
* tiled-clone-of
* inkscape:transform-center-x
* tile-h
* inkscape:transform-center-y
* tile-w
* inkscape:unset - used for unsetting a property via an SPCSSAttr. INTERNAL USE ONLY, never to be seen in saved SVG.
* transform-center-x
* inkscape:version
* transform-center-y
* inkscape:window-height
* unset - used for unsetting a property via an SPCSSAttr. INTERNAL USE ONLY, never to be seen in saved SVG.
* inkscape:window-width
* version
* inkscape:window-x
* window-height
* inkscape:window-y
* window-width
* inkscape:zoom
* window-x
* window-y
* zoom
 
[[Category:Developer Documentation]]
[[Category:Needs Work]]

Latest revision as of 00:04, 27 June 2020

Inkscape-specific XML attributes

This listing includes both Inkscape-specific and Sodipodi-specific attributes.

See ExtensionElements for Inkscape-specific and Sodipodi-specific elements.

Sodipodi

Namespace

Namespace URL: http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd

Canonical prefix: sodipodi

Local names

  • absref - the absolute native (UTF-8) path to a resource (valid on svg:image)
  • arg1
  • arg2
  • argument
  • cx
  • cy
  • docbase - the absolute native (UTF-8) directory containing the document
  • docname - the absolute native (UTF-8) path to the document
  • end
  • expansion
  • insensitive - when set to "1", make an object unselectable via the mouse (valid on any renderable SVG element)
  • linespacing
  • modified - INTERNAL USE ONLY; never serialized; set to "1" when an element has been modified since the file was last saved (valid on svg:svg)
  • nodetypes
  • nonprintable
  • open
  • original
  • r1
  • r2
  • radius
  • revolution
  • role
  • rx
  • ry
  • sides - the number of convex vertices in a polygon/star
  • spiral
  • star
  • start
  • t0
  • type - if present, an opaque string used to identify the SPObject subclass to use instead of the default subclass for this element type (valid on any element)
  • version - the version of Sodipodi which saved this document (valid on svg:svg)

Inkscape

Namespace

Namespace URL: http://www.inkscape.org/namespaces/inkscape

Canonical prefix: inkscape

Local names

  • collect
  • connection-end - An internal url reference [rfc3987] pointing to which object's center this path's end point is connected to. If not specified, no automatic connection is made.
  • connection-end-point - An internal url reference [rfc3987] pointing to which child-object of the connection-end object. The parent object may be a group tag or a use tag. The point is the center of the child object as it would appear in the rendered object. The default is no-child object and the parent's center point is used.
  • connection-start - Same as connection-end but for the start connection
  • connection-start-point - Same as connection-end-point but for the start connection child object.
  • connector-avoid
  • connector-spacing
  • connector-type
  • current-layer
  • cx
  • cy
  • dataloss
  • document-units
  • dstBox
  • dstColumn
  • dstPath
  • dstShape
  • excludeShape
  • export-filename
  • export-xdpi
  • export-ydpi
  • flatsided
  • grid-bbox
  • grid-points
  • groupmode
  • guide-bbox
  • guide-points
  • has_abs_tolerance
  • href
  • label
  • layoutOptions
  • marker
  • object-bbox
  • object-nodes
  • object-paths
  • object-points
  • offset
  • original
  • output_extension
  • pageopacity
  • pageshadow
  • radius
  • randomized
  • rounded
  • showpageshadow
  • srcNoMarkup
  • srcPango
  • stockid
  • tile-cx
  • tile-cy
  • tiled-clone-of
  • tile-h
  • tile-w
  • transform-center-x
  • transform-center-y
  • unset - used for unsetting a property via an SPCSSAttr. INTERNAL USE ONLY, never to be seen in saved SVG.
  • version
  • window-height
  • window-width
  • window-x
  • window-y
  • zoom