Schema
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit

include "datatypes.rnc"
include "headers.rnc"
include "core-attrib.rnc"
include "coordinate-attrib.rnc"
include "extresources-attrib.rnc"
include "focus-attrib.rnc"
include "graphics-attrib.rnc"
include "media-attrib.rnc"
include "transform-attrib.rnc"
include "xlink-attrib.rnc"
include "opacity-attrib-tiny.rnc"
include "paint-attrib-tiny.rnc"
include "vectoreffects-attrib-tiny.rnc"
include "viewport-attrib-tiny.rnc"
include "contenttype-attrib.rnc"
include "structure-tiny.rnc"
include "animate.rnc"
include "animation-element.rnc"
include "audio.rnc"
include "conditional.rnc"
include "extensibility.rnc"
include "handler.rnc"
include "hyperlink.rnc"
include "image.rnc"
include "discard.rnc"
include "prefetch.rnc"
include "script.rnc"
include "shapes.rnc"
include "solidcolor.rnc"
include "video.rnc"
include "flowable-text-tiny.rnc"
include "font-tiny.rnc"
include "gradient-tiny.rnc"
include "text-tiny.rnc"
include "xml-events.rnc"
datatypes.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit

Boolean.datatype = "false""true"

XML-Name.datatype = xsd:Name

IDREF.datatype = xsd:IDREF

ContentType.datatype = xsd:string

Coordinate.datatype = xsd:string

Coordinates.datatype = xsd:string

Clock-value.datatype = xsd:string

Color.datatype = xsd:string

SVGColor.datatype = xsd:string

LanguageID.datatype = xsd:language

LanguageIDs.datatype = xsd:string

Length.datatype = xsd:string

Lengths.datatype = xsd:string

Number.datatype = xsd:string

Numbers.datatype = xsd:string

PathData.datatype = xsd:string

TransformList.datatype = xsd:string

TransformListNoRef.datatype = xsd:string

IRI.datatype = xsd:anyURIxsd:string

Paint.datatype = xsd:string

ListOfIRI.datatype = xsd:string

FormatList.datatype = xsd:string

FontList.datatype = xsd:string

Focus.datatype = "auto""self"xsd:string

FontFamilyValue.datatype = xsd:string

FontSizeValue.datatype = xsd:string

Points.datatype = xsd:string

ID.datatype = xsd:ID

NCName.datatype = xsd:NCName

XSLT-QName.datatype = xsd:NCNamexsd:QName
headers.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit

svg.G.group = notAllowed

svg.GCommon.group = notAllowed

svg.Desc.group = notAllowed

svg.Animate.group = notAllowed

svg.Handler.group = notAllowed

svg.TextCommon.group = notAllowed

svg.Discard.group = notAllowed

svg.Properties.attr = empty

svg.FocusHighlight.attr = empty

svg.Conditional.attr = empty

svg.Core.attr = empty

svg.CorePreserve.attr = empty

svg.External.attr = empty

svg.Editable.attr = empty

svg.Opacity.attr = empty

svg.Focus.attr = empty

svg.Transform.attr = empty

svg.ContentType.attr = empty

svg.XLink.attr = empty

svg.XLinkEmbed.attr = empty

svg.XLinkRequired.attr = empty

svg.XLinkReplace.attr = empty

svg.AnimateTiming.attr = empty

svg.AnimateSync.attr = empty

svg.AnimateSyncDefault.attr = empty

svg.AnimateBegin.attr = empty

svg.AnimateTimingNoMinMax.attr = empty

svg.AnimateTimingNoFillNoMinMax.attr = empty

svg.InitialVisibility.attr = empty

svg.PAR.attr = empty

svg.CxCy.attr = empty

svg.D.attr = empty

svg.R.attr = empty

svg.X12Y12.attr = empty

svg.XY.attr = empty

svg.WH.attr = empty

svg.XYWH.attr = svg.XY.attr, svg.WH.attr
core-attrib.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.CoreCommon.attr &=
(
(
[ svg:animatable = "false" svg:inheritable = "false" ] attribute xml:id { ID.datatype },
[ svg:animatable = "false" svg:inheritable = "false" ] attribute id { NCName.datatype }?
)
[ svg:animatable = "false" svg:inheritable = "false" ] attribute id { ID.datatype }?
),
[ svg:animatable = "false" svg:inheritable = "false" ] attribute class { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute xml:base { IRI.datatype }?,
[ xml:id = "lang" ]
[ svg:animatable = "false" svg:inheritable = "false" ] attribute xml:lang { LanguageID.datatypeempty }?

svg.Core.attr &=
svg.CoreCommon.attr,
[ xml:id = "space" ]
[ svg:animatable = "false" svg:inheritable = "false" ] attribute xml:space { "default""preserve" }?

svg.CorePreserve.attr &=
svg.CoreCommon.attr,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute xml:space { "preserve" }?
coordinate-attrib.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.XY.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ] attribute x { Coordinate.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute y { Coordinate.datatype }?

svg.WH.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ] attribute width { Length.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute height { Length.datatype }?
extresources-attrib.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.External.attr &=
[ svg:animatable = "false" svg:inheritable = "false" ] attribute externalResourcesRequired { Boolean.datatype }?
focus-attrib.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.Focus.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ] attribute focusable { "auto"Boolean.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute nav-next { Focus.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute nav-prev { Focus.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute nav-up { Focus.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute nav-up-right { Focus.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute nav-right { Focus.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute nav-down-right { Focus.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute nav-down { Focus.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute nav-down-left { Focus.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute nav-left { Focus.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute nav-up-left { Focus.datatype }?

svg.FocusHighlight.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ] attribute focusHighlight { "auto""none" }?
graphics-attrib.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.Media.attr &=
[ svg:animatable = "true" svg:inheritable = "explicit" ]
attribute display
{
"inline"
"block"
"list-item"
"run-in"
"compact"
"marker"
"table"
"inline-table"
"table-row-group"
"table-header-group"
"table-footer-group"
"table-row"
"table-column-group"
"table-column"
"table-cell"
"table-caption"
"none"
"inherit"
}?,
[ svg:animatable = "true" svg:inheritable = "true" ] attribute visibility { "visible""hidden""inherit" }?,
[ svg:animatable = "true" svg:inheritable = "true" ]
attribute image-rendering { "auto""optimizeSpeed""optimizeQuality""inherit" }?,
[ svg:animatable = "true" svg:inheritable = "true" ]
attribute pointer-events
{
"visiblePainted"
"visibleFill"
"visibleStroke"
"visible"
"painted"
"fill"
"stroke"
"all"
"none"
"inherit"
}?,
[ svg:animatable = "true" svg:inheritable = "true" ]
attribute shape-rendering { "auto""optimizeSpeed""crispEdges""geometricPrecision""inherit" }?,
[ svg:animatable = "true" svg:inheritable = "true" ]
attribute text-rendering { "auto""optimizeSpeed""optimizeLegibility""geometricPrecision""inherit" }?

svg.InitialVisibility.attr &=
[ svg:animatable = "no" svg:inheritable = "false" ] attribute initialVisibility { "whenStarted""always" }?
media-attrib.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.Properties.attr &= svg.Media.attr

svg.Media.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ] attribute audio-level { "inherit"Number.datatype }?
transform-attrib.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.Transform.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ] attribute transform { TransformList.datatype"none" }?
xlink-attrib.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"
namespace xlink = "http://www.w3.org/1999/xlink"

[ xml:id = "xlinkattr" ]
div
{
svg.XLinkBase.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ] attribute xlink:type { "simple" }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute xlink:role { IRI.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute xlink:arcrole { IRI.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute xlink:title { text }?

svg.XLinkHrefRequired.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ] attribute xlink:href { IRI.datatype }?

svg.XLinkBaseRequired.attr &= svg.XLinkBase.attr, svg.XLinkHrefRequired.attr

svg.XLinkActuateOnLoad.attr &=
[ svg:animatable = "false" svg:inheritable = "false" ] attribute xlink:actuate { "onLoad" }?

svg.XLinkShowOther.attr &= [ svg:animatable = "false" svg:inheritable = "false" ] attribute xlink:show { "other" }?

svg.XLinkEmbed.attr &=
[ svg:animatable = "false" svg:inheritable = "false" ] attribute xlink:show { "embed" }?,
svg.XLinkActuateOnLoad.attr,
svg.XLinkBaseRequired.attr

svg.XLinkRequired.attr &= svg.XLinkShowOther.attr, svg.XLinkActuateOnLoad.attr, svg.XLinkBaseRequired.attr

svg.XLinkReplace.attr &=
[ svg:animatable = "false" svg:inheritable = "false" ] attribute xlink:show { "new""replace" }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute xlink:actuate { "onRequest" }?,
svg.XLinkBaseRequired.attr

svg.XLink.attr &=
svg.XLinkHrefRequired.attr?,
svg.XLinkShowOther.attr,
svg.XLinkActuateOnLoad.attr,
svg.XLinkBase.attr
}
opacity-attrib-tiny.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.Properties.attr &=
[ svg:animatable = "true" svg:inheritable = "true" ] attribute fill-opacity { "inherit"Number.datatype }?,
[ svg:animatable = "true" svg:inheritable = "true" ] attribute stroke-opacity { "inherit"Number.datatype }?

svg.Opacity.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ] attribute opacity { "inherit"Number.datatype }?
paint-attrib-tiny.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.Properties.attr &=
[ svg:animatable = "true" svg:inheritable = "true" ] attribute fill { "inherit"Paint.datatype }?,
[ svg:animatable = "true" svg:inheritable = "true" ] attribute fill-rule { "inherit""nonzero""evenodd" }?,
[ svg:animatable = "true" svg:inheritable = "true" ] attribute stroke { "inherit"Paint.datatype }?,
[ svg:animatable = "true" svg:inheritable = "true" ]
attribute stroke-dasharray { "inherit""none"Lengths.datatype }?,
[ svg:animatable = "true" svg:inheritable = "true" ] attribute stroke-dashoffset { "inherit"Length.datatype }?,
[ svg:animatable = "true" svg:inheritable = "true" ]
attribute stroke-linecap { "butt""round""square""inherit" }?,
[ svg:animatable = "true" svg:inheritable = "true" ]
attribute stroke-linejoin { "miter""round""bevel""inherit" }?,
[ svg:animatable = "true" svg:inheritable = "true" ] attribute stroke-miterlimit { "inherit"Number.datatype }?,
[ svg:animatable = "true" svg:inheritable = "true" ] attribute stroke-width { "inherit"Length.datatype }?,
[ svg:animatable = "true" svg:inheritable = "true" ] attribute color { "inherit"SVGColor.datatype }?,
[ svg:animatable = "true" svg:inheritable = "true" ]
attribute color-rendering { "auto""optimizeSpeed""optimizeQuality""inherit" }?
vectoreffects-attrib-tiny.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.Properties.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ]
attribute vector-effect { "none""non-scaling-stroke""inherit" }?
viewport-attrib-tiny.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.Media.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ]
attribute viewport-fill { "inherit""none"Color.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ]
attribute viewport-fill-opacity { "inherit"Number.datatype }?
contenttype-attrib.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.ContentType.attr &= [ svg:animatable = "false" svg:inheritable = "false" ] attribute type { ContentType.datatype }?
structure-tiny.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

start = svg

svg.Desc.group |= desctitlemetadata[ xml:id = "switch.el" ] element switch { switch.AT, svg.Desc.group* }

svg.G-noA.group |= svg.Desc.groupsvg.GCommon.groupgdefsuseelement switch { switch.AT, svg.G-noA.group* }

svg.G.group |=
svg.Desc.group
svg.GCommon.group
g
defs
use
element switch { switch.AT, svg.G.group* }
[ xml:id = "a.el" ] element a { a.AT, svg.G-noA.group* }

svg.PAR.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ]
attribute preserveAspectRatio { xsd:string { pattern = "\s*(none|xMidYMid)\s*(meet)?\s*" } }?

[ xml:id = "svg" ]
div
{
svg = element svg { svg.AT, svg.G.group* }

svg.AT &=
svg.Properties.attr,
svg.FocusHighlight.attr,
svg.External.attr,
svg.Focus.attr,
svg.AnimateSyncDefault.attr,
svg.Core.attr,
svg.WH.attr,
svg.PAR.attr,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute viewBox { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute zoomAndPan { "disable""magnify" }?,
[ svg:animatable = "false" svg:inheritable = "false" ]
attribute version { xsd:string "1.0"xsd:string "1.1"xsd:string "1.2" }?,
[ svg:animatable = "false" svg:inheritable = "false" ]
attribute baseProfile { xsd:string "none"xsd:string "tiny"xsd:string "basic"xsd:string "full" }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute contentScriptType { ContentType.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ]
attribute snapshotTime { xsd:string "none"Clock-value.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ]
attribute timelineBegin { xsd:string "onLoad"xsd:string "onStart" }?,
[ svg:animatable = "false" svg:inheritable = "false" ]
attribute playbackOrder { xsd:string "all"xsd:string "forwardOnly" }?
}

[ xml:id = "g" ]
div
{
g = element g { g.AT, svg.G.group* }

g.AT &=
svg.Properties.attr,
svg.FocusHighlight.attr,
svg.Core.attr,
svg.External.attr,
svg.Conditional.attr,
svg.Focus.attr,
svg.Transform.attr
}

[ xml:id = "defs" ]
div
{
defs = element defs { defs.AT, svg.G.group* }

defs.AT &= svg.Properties.attr, svg.Core.attr
}

[ xml:id = "desc" ]
div
{
desc = element desc { DTM.AT, DTM.CM }

DTM.AT &= svg.Core.attr

DTM.CM = text
}

[ xml:id = "title" ]
div
{
title = element title { DTM.AT, DTM.CM }
}

[ xml:id = "metadata" ]
div
{
metadata = element metadata { DTM.AT, DTM.CM }
}

[ xml:id = "use" ]
div
{
use = element use { use.AT, use.CM }

use.AT &=
svg.Properties.attr,
svg.FocusHighlight.attr,
svg.Core.attr,
svg.Conditional.attr,
svg.Transform.attr,
svg.XLinkEmbed.attr,
svg.Focus.attr,
svg.External.attr,
svg.XY.attr

use.CM = ( svg.Desc.groupsvg.Animate.groupsvg.Handler.group )*
}
animate.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.GCommon.group |= svg.Animate.group

svg.Animate.group |= animatesetanimateColoranimateTransformanimateMotionsvg.Discard.group

[ xml:id = "animatetiming" ]
div
{
svg.AnimateTiming.attr &=
svg.AnimateTimingNoMinMax.attr,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute min { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute max { text }?

svg.AnimateTimingNoMinMax.attr &=
svg.AnimateTimingNoFillNoMinMax.attr,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute fill { "remove""freeze" }?

svg.AnimateTimingNoFillNoMinMax.attr &=
svg.AnimateBegin.attr,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute dur { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute end { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute repeatCount { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute repeatDur { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute restart { "always""never""whenNotActive" }?

svg.AnimateBegin.attr &= [ svg:animatable = "false" svg:inheritable = "false" ] attribute begin { text }?
}

svg.AnimateSync.attr &=
[ svg:animatable = "false" svg:inheritable = "false" ]
attribute syncBehavior { "canSlip""locked""independent""default" }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute syncTolerance { Clock-value.datatype"default" }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute syncMaster { Boolean.datatype }?

svg.AnimateSyncDefault.attr &=
[ svg:animatable = "false" svg:inheritable = "false" ]
attribute syncBehaviorDefault { "canSlip""locked""independent""inherit" }?,
[ svg:animatable = "false" svg:inheritable = "false" ]
attribute syncToleranceDefault { Clock-value.datatype"inherit" }?

[ xml:id = "animatecommon" ]
div
{
svg.AnimateCommon.attr = svg.XLink.attr, svg.Conditional.attr
}

[ xml:id = "animateattributecommon" ]
div
{
svg.AnimateAttributeCommon.attr =
[ svg:animatable = "false" svg:inheritable = "false" ] attribute attributeName { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute attributeType { "XML""CSS""auto" }?
}

[ xml:id = "animatevalue" ]
div
{
svg.AnimateToCommon.attr &= [ svg:animatable = "false" svg:inheritable = "false" ] attribute to { text }?

svg.AnimateValueCommon.attr =
svg.AnimateToCommon.attr,
[ svg:animatable = "false" svg:inheritable = "false" ]
attribute calcMode { "discrete""linear""paced""spline" }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute values { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute keyTimes { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute keySplines { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute from { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute by { text }?
}

[ xml:id = "animateaddition" ]
div
{
svg.AnimateAdditionCommon.attr =
[ svg:animatable = "false" svg:inheritable = "false" ] attribute additive { "replace""sum" }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute accumulate { "none""sum" }?
}

svg.AnimateTypeCommon.attr =
[ svg:animatable = "false" svg:inheritable = "false" ]
attribute type { "translate""scale""rotate""skewX""skewY" }?

animateCommon.CM = svg.Desc.groupsvg.Handler.group

[ xml:id = "animate" ]
div
{
animate = element animate { animate.AT, animateCommon.CM* }

animate.AT &=
svg.Core.attr,
svg.AnimateCommon.attr,
svg.AnimateAttributeCommon.attr,
svg.AnimateTiming.attr,
svg.AnimateValueCommon.attr,
svg.AnimateAdditionCommon.attr
}

[ xml:id = "set" ]
div
{
set = element set { set.AT, animateCommon.CM* }

set.AT &=
svg.Core.attr,
svg.AnimateCommon.attr,
svg.AnimateAttributeCommon.attr,
svg.AnimateTiming.attr,
svg.AnimateToCommon.attr
}

[ xml:id = "animateColor" ]
div
{
animateColor = element animateColor { animateColor.AT, animateCommon.CM* }

animateColor.AT &=
svg.Core.attr,
svg.AnimateCommon.attr,
svg.AnimateAttributeCommon.attr,
svg.AnimateTiming.attr,
svg.AnimateValueCommon.attr,
svg.AnimateAdditionCommon.attr
}

[ xml:id = "animateTransform" ]
div
{
animateTransform = element animateTransform { animateTransform.AT, animateCommon.CM* }

animateTransform.AT &=
svg.Core.attr,
svg.AnimateCommon.attr,
svg.AnimateAttributeCommon.attr,
svg.AnimateTiming.attr,
svg.AnimateValueCommon.attr,
svg.AnimateAdditionCommon.attr,
svg.AnimateTypeCommon.attr
}

[ xml:id = "animateMotion" ]
div
{
animateMotion = element animateMotion { animateMotion.AT, animateCommon.CM*, mpath?, animateCommon.CM* }

animateMotion.AT &=
svg.Core.attr,
svg.AnimateCommon.attr,
svg.AnimateTiming.attr,
svg.AnimateAdditionCommon.attr,
svg.AnimateValueCommon.attr,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute path { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute keyPoints { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute rotate { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute origin { text }?
}

[ xml:id = "mpath" ]
div
{
mpath = element mpath { mpath.AT, svg.Desc.group* }

mpath.AT &= svg.Core.attr, svg.XLinkRequired.attr
}
animation-element.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit

svg.GCommon.group |= animation

[ xml:id = "animation" ]
div
{
animation = element animation { animation.AT, animation.CM }

animation.AT &=
svg.Core.attr,
svg.FocusHighlight.attr,
svg.Media.attr,
svg.Conditional.attr,
svg.External.attr,
svg.XLinkEmbed.attr,
svg.Focus.attr,
svg.AnimateTiming.attr,
svg.AnimateSync.attr,
svg.XYWH.attr,
svg.PAR.attr,
svg.Transform.attr,
svg.InitialVisibility.attr

animation.CM = ( svg.Desc.groupsvg.Animate.groupsvg.Discard.groupsvg.Handler.group )*
}
audio.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit

svg.GCommon.group |= audio

[ xml:id = "audio" ]
div
{
audio = element audio { audio.AT, audio.CM }

audio.AT &=
svg.Core.attr,
svg.XLinkEmbed.attr,
svg.Conditional.attr,
svg.External.attr,
svg.AnimateTiming.attr,
svg.AnimateSync.attr,
svg.Media.attr,
svg.ContentType.attr

audio.CM = ( svg.Desc.groupsvg.Animate.groupsvg.Handler.groupsvg.Discard.group )*
}
conditional.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

[ xml:id = "conditional" ]
div
{
svg.Conditional.attr &=
[ svg:animatable = "false" svg:inheritable = "false" ] attribute requiredFeatures { ListOfIRI.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute requiredExtensions { ListOfIRI.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute requiredFormats { FormatList.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute requiredFonts { FontList.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute systemLanguage { LanguageIDs.datatype }?
}

[ xml:id = "switch.at" ]
div
{
switch.AT &=
svg.Core.attr,
svg.Conditional.attr,
svg.Properties.attr,
svg.FocusHighlight.attr,
svg.External.attr,
svg.Transform.attr,
svg.Focus.attr
}
extensibility.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit

svg.GCommon.group |= foreignObject

[ xml:id = "foreignObject" ]
div
{
foreignObject = element foreignObject { foreignObject.AT, foreignObject.CM }

foreignObject.AT &=
svg.Core.attr,
svg.Conditional.attr,
svg.XLinkEmbed.attr,
svg.Focus.attr,
svg.External.attr,
svg.Properties.attr,
svg.FocusHighlight.attr,
svg.Transform.attr,
svg.XYWH.attr

foreignObject.CM = ( svg.Desc.groupsvg )*
}
handler.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"
namespace ev = "http://www.w3.org/2001/xml-events"

svg.GCommon.group |= handler

svg.Handler.group |= handler

[ xml:id = "handler" ]
div
{
handler = element handler { handler.AT, handler.ATCM }

handler.AT &=
svg.CorePreserve.attr,
svg.External.attr,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute ev:event { XML-Name.datatype }?,
svg.ContentType.attr

handler.ATCM = ( ( svg.XLinkRequired.attr ) | text ) & svg.Desc.group
}
hyperlink.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

[ xml:id = "a.at" ]
div
{
a.AT &=
svg.Core.attr,
svg.Conditional.attr,
svg.Properties.attr,
svg.FocusHighlight.attr,
svg.External.attr,
svg.Focus.attr,
svg.Transform.attr,
svg.XLinkReplace.attr,
[ svg:animatable = "true" svg:inheritable = "false" ]
attribute target { "_replace""_self""_parent""_top""_blank"XML-Name.datatype }?
}
image.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit

svg.GCommon.group |= image

[ xml:id = "image" ]
div
{
image = element image { image.AT, image.CM }

image.AT &=
svg.Core.attr,
svg.FocusHighlight.attr,
svg.Media.attr,
svg.XLinkEmbed.attr,
svg.Conditional.attr,
svg.External.attr,
svg.Focus.attr,
svg.Transform.attr,
svg.Opacity.attr,
svg.XYWH.attr,
svg.PAR.attr,
svg.ContentType.attr

image.CM = ( svg.Desc.groupsvg.Animate.groupsvg.Discard.groupsvg.Handler.group )*
}
discard.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit

svg.GCommon.group |= discard

svg.Discard.group |= discard

[ xml:id = "discard" ]
div
{
discard = element discard { discard.AT, discard.CM }

discard.AT &= svg.Core.attr, svg.XLink.attr, svg.AnimateBegin.attr, svg.Conditional.attr

discard.CM = ( svg.Desc.group, svg.Handler.group )*
}
prefetch.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.GCommon.group |= prefetch

[ xml:id = "prefetch" ]
div
{
prefetch = element prefetch { prefetch.AT, prefetch.CM }

prefetch.AT &=
svg.Core.attr,
svg.XLinkRequired.attr,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute mediaSize { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute mediaTime { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute mediaCharacterEncoding { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute mediaContentEncodings { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute bandwidth { Number.datatype"auto" }?

prefetch.CM = svg.Desc.group*
}
script.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit

svg.GCommon.group |= script

[ xml:id = "script" ]
div
{
script = element script { script.AT, script.ATCM }

script.AT &= svg.CorePreserve.attr, svg.External.attr, svg.ContentType.attr

script.ATCM = ( ( svg.XLinkRequired.attr ) | text ) & svg.Desc.group
}
shapes.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.GCommon.group |= pathrectcirclelineellipsepolylinepolygon

svg.ShapeCommon.attr =
svg.Core.attr,
svg.Transform.attr,
svg.Properties.attr,
svg.FocusHighlight.attr,
svg.Conditional.attr,
svg.Focus.attr

svg.D.attr &= [ svg:animatable = "true" svg:inheritable = "false" ] attribute d { PathData.datatype }?

svg.R.attr &= [ svg:animatable = "true" svg:inheritable = "false" ] attribute r { Length.datatype }?

svg.X12Y12.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ] attribute x1 { Coordinate.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute y1 { Coordinate.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute x2 { Coordinate.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute y2 { Coordinate.datatype }?

svg.CxCy.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ] attribute cx { Coordinate.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute cy { Coordinate.datatype }?

svg.RxRyCommon.attr =
[ svg:animatable = "true" svg:inheritable = "false" ] attribute rx { Length.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute ry { Length.datatype }?

shapeCommon.CM = svg.Desc.groupsvg.Handler.groupsvg.Animate.groupsvg.Discard.group

[ xml:id = "path" ]
div
{
path = element path { path.AT, shapeCommon.CM* }

path.AT &=
svg.ShapeCommon.attr,
svg.D.attr,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute pathLength { Number.datatype }?
}

[ xml:id = "rect" ]
div
{
rect = element rect { rect.AT, shapeCommon.CM* }

rect.AT &= svg.ShapeCommon.attr, svg.XYWH.attr, svg.RxRyCommon.attr
}

[ xml:id = "circle" ]
div
{
circle = element circle { circle.AT, shapeCommon.CM* }

circle.AT &= svg.ShapeCommon.attr, svg.CxCy.attr, svg.R.attr
}

[ xml:id = "line" ]
div
{
line = element line { line.AT, shapeCommon.CM* }

line.AT &= svg.ShapeCommon.attr, svg.X12Y12.attr
}

[ xml:id = "ellipse" ]
div
{
ellipse = element ellipse { ellipse.AT, shapeCommon.CM* }

ellipse.AT &= svg.ShapeCommon.attr, svg.RxRyCommon.attr, svg.CxCy.attr
}

[ xml:id = "polyline" ]
div
{
polyline = element polyline { polyCommon.AT, shapeCommon.CM* }

polyCommon.AT &=
svg.ShapeCommon.attr,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute points { Points.datatype }?
}

[ xml:id = "polygon" ]
div
{
polygon = element polygon { polyCommon.AT, shapeCommon.CM* }
}
solidcolor.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.Properties.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ] attribute solid-color { "inherit"SVGColor.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute solid-opacity { "inherit"Number.datatype }?

svg.GCommon.group |= solidColor

[ xml:id = "solidColor" ]
div
{
solidColor = element solidColor { solidColor.AT, solidColor.CM }

solidColor.CM = ( svg.Desc.groupsvg.Animate.groupsvg.Handler.groupsvg.Discard.group )*

solidColor.AT &= svg.Properties.attr, svg.Core.attr
}
video.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.GCommon.group |= video

[ xml:id = "video" ]
div
{
video = element video { video.AT, video.CM }

video.AT &=
svg.Core.attr,
svg.FocusHighlight.attr,
svg.Media.attr,
svg.XLinkEmbed.attr,
svg.Conditional.attr,
svg.External.attr,
svg.AnimateTiming.attr,
svg.AnimateSync.attr,
svg.Focus.attr,
svg.Transform.attr,
svg.XYWH.attr,
svg.PAR.attr,
svg.ContentType.attr,
svg.InitialVisibility.attr,
[ svg:animatable = "no" svg:inheritable = "false" ]
attribute transformBehavior { "geometric""pinned""pinned90""pinned180""pinned270" }?,
[ svg:animatable = "no" svg:inheritable = "false" ] attribute overlay { "none""top" }?

video.CM = ( svg.Desc.groupsvg.Animate.groupsvg.Handler.groupsvg.Discard.group )*
}
flowable-text-tiny.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.Properties.attr &=
[ svg:animatable = "true" svg:inheritable = "true" ]
attribute display-align { "auto""before""center""after""inherit" }?,
[ svg:animatable = "true" svg:inheritable = "true" ]
attribute line-increment { "auto""inherit"Number.datatype }?

svg.GCommon.group |= textArea

[ xml:id = "textArea" ]
div
{
textArea =
element textArea
{
textArea.AT,
( element tspan { tspan.AT, ( tbreaksvg.TextCommon.group )* } | svg.TextCommon.group )*
}

textArea.AT &=
svg.Properties.attr,
svg.FocusHighlight.attr,
svg.Core.attr,
svg.Conditional.attr,
svg.Focus.attr,
svg.Transform.attr,
svg.XY.attr,
svg.Editable.attr,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute width { Length.datatype"auto" }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute height { Length.datatype"auto" }?
}

[ xml:id = "tbreak" ]
div
{
tbreak = element tbreak { tbreak.AT, empty }

tbreak.AT &= svg.Core.attr
}
font-tiny.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.GCommon.group |= fontfont-face

svg.FontAdvOrigCommon.attr &=
[ svg:animatable = "false" svg:inheritable = "false" ] attribute horiz-adv-x { Number.datatype }?

[ xml:id = "font" ]
div
{
font = element font { font.AT, font.CM }

font.AT &=
svg.Core.attr,
svg.External.attr,
svg.FontAdvOrigCommon.attr,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute horiz-origin-x { Number.datatype }?

font.CM = ( svg.Desc.groupfont-facemissing-glyphglyphhkern )*
}

[ xml:id = "font-face" ]
div
{
font-face = element font-face { font-face.AT, font-face.CM }

font-face.AT &=
svg.Core.attr,
svg.External.attr,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute font-family { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute font-style { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute font-weight { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute font-variant { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute font-stretch { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute unicode-range { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute panose-1 { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute widths { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute bbox { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute units-per-em { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute stemv { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute stemh { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute slope { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute cap-height { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute x-height { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute accent-height { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute ascent { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute descent { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute ideographic { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute alphabetic { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute mathematical { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute hanging { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute underline-position { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute underline-thickness { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute strikethrough-position { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute strikethrough-thickness { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute overline-position { Number.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute overline-thickness { Number.datatype }?

font-face.CM = ( svg.Desc.groupfont-face-src )*
}

[ xml:id = "glyph" ]
div
{
glyph = element glyph { glyph.AT, glyph.CM }

glyph.AT &=
svg.Core.attr,
svg.FontAdvOrigCommon.attr,
svg.D.attr,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute unicode { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute glyph-name { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute arabic-form { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute lang { LanguageIDs.datatype }?

glyph.CM = svg.Desc.group*
}

[ xml:id = "missing-glyph" ]
div
{
missing-glyph = element missing-glyph { missing-glyph.AT, missing-glyph.CM }

missing-glyph.AT &= svg.Core.attr, svg.FontAdvOrigCommon.attr, svg.D.attr

missing-glyph.CM = svg.Desc.group*
}

[ xml:id = "hkern" ]
div
{
hkern = element hkern { hkern.AT, hkern.CM }

hkern.AT &=
svg.Core.attr,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute u1 { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute g1 { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute u2 { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute g2 { text }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute k { Number.datatype }?

hkern.CM = svg.Desc.group*
}

[ xml:id = "font-face-src" ]
div
{
font-face-src = element font-face-src { font-face-src.AT, font-face-src.CM }

font-face-src.AT &= svg.Core.attr

font-face-src.CM = ( svg.Desc.groupfont-face-uri )*
}

[ xml:id = "font-face-uri" ]
div
{
font-face-uri = element font-face-uri { font-face-uri.AT, font-face-uri.CM }

font-face-uri.AT &= svg.Core.attr, svg.XLinkRequired.attr, svg.External.attr

font-face-uri.CM = svg.Desc.group*
}
gradient-tiny.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.Properties.attr &=
[ svg:animatable = "true" svg:inheritable = "explicit" ] attribute stop-color { "inherit"SVGColor.datatype }?,
[ svg:animatable = "true" svg:inheritable = "explicit" ] attribute stop-opacity { "inherit"Number.datatype }?

svg.GCommon.group |= linearGradientradialGradient

[ xml:id = "gradient.cm" ]
div
{
svg.GradientCommon.attr &=
[ svg:animatable = "true" svg:inheritable = "false" ]
attribute gradientUnits { "userSpaceOnUse""objectBoundingBox" }?

GradientCommon.CM = ( svg.Desc.groupsvg.Animate.groupsvg.Discard.groupstop )*
}

[ xml:id = "linearGradient" ]
div
{
linearGradient = element linearGradient { linearGradient.AT, GradientCommon.CM }

linearGradient.AT &= svg.Properties.attr, svg.GradientCommon.attr, svg.Core.attr, svg.X12Y12.attr
}

[ xml:id = "radialGradient" ]
div
{
radialGradient = element radialGradient { radialGradient.AT, GradientCommon.CM }

radialGradient.AT &= svg.Properties.attr, svg.GradientCommon.attr, svg.Core.attr, svg.CxCy.attr, svg.R.attr
}

[ xml:id = "stop" ]
div
{
stop = element stop { stop.AT, stop.CM }

stop.CM = ( svg.Desc.groupsvg.Animate.group )*

stop.AT &=
svg.Properties.attr,
svg.Core.attr,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute offset { Number.datatype }?
}
text-tiny.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"

svg.Properties.attr &=
[ svg:animatable = "true" svg:inheritable = "true" ] attribute font-family { "inherit"FontFamilyValue.datatype }?,
[ svg:animatable = "true" svg:inheritable = "true" ] attribute font-size { "inherit"FontSizeValue.datatype }?,
[ svg:animatable = "true" svg:inheritable = "true" ]
attribute font-style { "normal""italic""oblique""inherit" }?,
[ svg:animatable = "true" svg:inheritable = "true" ] attribute font-variant { "normal""small-caps""inherit" }?,
[ svg:animatable = "true" svg:inheritable = "true" ]
attribute font-weight
{
"normal"
"bold"
"bolder"
"lighter"
"100"
"200"
"300"
"400"
"500"
"600"
"700"
"800"
"900"
"inherit"
}?,
[ svg:animatable = "true" svg:inheritable = "true" ]
attribute text-anchor { "start""middle""end""inherit" }?,
[ svg:animatable = "true" svg:inheritable = "true" ] attribute text-align { "start""center""end""inherit" }?

svg.GCommon.group |= \text

[ xml:id = "editable" ]
div
{
svg.Editable.attr &=
[ svg:animatable = "false" svg:inheritable = "false" ] attribute editable { "none""simple" }?
}

svg.TextCommon-noA.group |=
svg.Desc.group
svg.Animate.group
svg.Handler.group
svg.Discard.group
tspan
text
element switch { switch.AT, svg.TextCommon-noA.group* }

[ xml:id = "text.cm" ]
div
{
svg.TextCommon.group |=
svg.Desc.group
svg.Animate.group
svg.Handler.group
svg.Discard.group
tspan
text
element switch { switch.AT, svg.TextCommon.group* }
element a { a.AT, svg.TextCommon-noA.group* }
}

[ xml:id = "text" ]
div
{
\text = element text { text.AT, svg.TextCommon.group* }

text.AT &=
svg.Properties.attr,
svg.Core.attr,
svg.Conditional.attr,
svg.FocusHighlight.attr,
svg.Editable.attr,
svg.Focus.attr,
svg.Transform.attr,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute x { Coordinates.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute y { Coordinates.datatype }?,
[ svg:animatable = "true" svg:inheritable = "false" ] attribute rotate { Numbers.datatype }?
}

[ xml:id = "tspan" ]
div
{
tspan = element tspan { tspan.AT, svg.TextCommon.group* }

tspan.AT &= svg.Properties.attr, svg.FocusHighlight.attr, svg.Core.attr, svg.Conditional.attr, svg.Focus.attr
}
xml-events.rnc
 
default namespace id2257585 = "http://www.w3.org/2000/svg"
namespace local = ""
namespace inh = inherit
namespace svg = "http://www.w3.org/2005/02/svg-annotations"
namespace ev = "http://www.w3.org/2001/xml-events"

svg.GCommon.group |= listener

[ xml:id = "listener" ]
div
{
listener = element ev:listener { listener.AT, listener.CM }

listener.AT &=
svg.Core.attr,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute event { XML-Name.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute phase { "default""capture" }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute propagate { "continue""stop" }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute defaultAction { "perform""cancel" }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute observer { IDREF.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute target { IDREF.datatype }?,
[ svg:animatable = "false" svg:inheritable = "false" ] attribute handler { IRI.datatype }?

listener.CM = empty
}
Index
 
start
Definitions: 1
Boolean.datatype
Definitions: 1
Clock-value.datatype
Definitions: 1
Color.datatype
Definitions: 1
Referenced from:
svg.Media.attr
ContentType.datatype
Definitions: 1
Referenced from:
svg.AT
svg.ContentType.attr
Coordinate.datatype
Definitions: 1
Coordinates.datatype
Definitions: 1
Referenced from:
text.AT
DTM.AT
Definitions: 1
Referenced from:
desc
metadata
title
DTM.CM
Definitions: 1
Referenced from:
desc
metadata
title
Focus.datatype
Definitions: 1
Referenced from:
svg.Focus.attr
FontFamilyValue.datatype
Definitions: 1
Referenced from:
svg.Properties.attr
FontList.datatype
Definitions: 1
Referenced from:
svg.Conditional.attr
FontSizeValue.datatype
Definitions: 1
Referenced from:
svg.Properties.attr
FormatList.datatype
Definitions: 1
Referenced from:
svg.Conditional.attr
GradientCommon.CM
Definitions: 1
Referenced from:
linearGradient
radialGradient
ID.datatype
Definitions: 1
Referenced from:
svg.CoreCommon.attr
IDREF.datatype
Definitions: 1
Referenced from:
listener.AT
IRI.datatype
Definitions: 1
LanguageID.datatype
Definitions: 1
Referenced from:
svg.CoreCommon.attr
LanguageIDs.datatype
Definitions: 1
Referenced from:
glyph.AT
svg.Conditional.attr
Length.datatype
Definitions: 1
Lengths.datatype
Definitions: 1
Referenced from:
svg.Properties.attr
ListOfIRI.datatype
Definitions: 1
Referenced from:
svg.Conditional.attr
NCName.datatype
Definitions: 1
Referenced from:
svg.CoreCommon.attr
Number.datatype
Definitions: 1
Numbers.datatype
Definitions: 1
Referenced from:
text.AT
Paint.datatype
Definitions: 1
Referenced from:
svg.Properties.attr
PathData.datatype
Definitions: 1
Referenced from:
svg.D.attr
Points.datatype
Definitions: 1
Referenced from:
polyCommon.AT
SVGColor.datatype
Definitions: 1
TransformList.datatype
Definitions: 1
Referenced from:
svg.Transform.attr
TransformListNoRef.datatype
Definitions: 1
Not referenced from any pattern
XML-Name.datatype
Definitions: 1
Referenced from:
a.AT
handler.AT
listener.AT
XSLT-QName.datatype
Definitions: 1
Not referenced from any pattern
a.AT
Definitions: 1
animate
Definitions: 1
Referenced from:
svg.Animate.group
animate.AT
Definitions: 1
Referenced from:
animate
animateColor
Definitions: 1
Referenced from:
svg.Animate.group
animateColor.AT
Definitions: 1
Referenced from:
animateColor
animateCommon.CM
Definitions: 1
animateMotion
Definitions: 1
Referenced from:
svg.Animate.group
animateMotion.AT
Definitions: 1
Referenced from:
animateMotion
animateTransform
Definitions: 1
Referenced from:
svg.Animate.group
animateTransform.AT
Definitions: 1
Referenced from:
animateTransform
animation
Definitions: 1
Referenced from:
svg.GCommon.group
animation.AT
Definitions: 1
Referenced from:
animation
animation.CM
Definitions: 1
Referenced from:
animation
audio
Definitions: 1
Referenced from:
svg.GCommon.group
audio.AT
Definitions: 1
Referenced from:
audio
audio.CM
Definitions: 1
Referenced from:
audio
circle
Definitions: 1
Referenced from:
svg.GCommon.group
circle.AT
Definitions: 1
Referenced from:
circle
defs
Definitions: 1
Referenced from:
svg.G-noA.group
svg.G.group
defs.AT
Definitions: 1
Referenced from:
defs
desc
Definitions: 1
Referenced from:
svg.Desc.group
discard
Definitions: 1
discard.AT
Definitions: 1
Referenced from:
discard
discard.CM
Definitions: 1
Referenced from:
discard
ellipse
Definitions: 1
Referenced from:
svg.GCommon.group
ellipse.AT
Definitions: 1
Referenced from:
ellipse
font
Definitions: 1
Referenced from:
svg.GCommon.group
font-face
Definitions: 1
Referenced from:
font.CM
svg.GCommon.group
font-face-src
Definitions: 1
Referenced from:
font-face.CM
font-face-src.AT
Definitions: 1
Referenced from:
font-face-src
font-face-src.CM
Definitions: 1
Referenced from:
font-face-src
font-face-uri
Definitions: 1
Referenced from:
font-face-src.CM
font-face-uri.AT
Definitions: 1
Referenced from:
font-face-uri
font-face-uri.CM
Definitions: 1
Referenced from:
font-face-uri
font-face.AT
Definitions: 1
Referenced from:
font-face
font-face.CM
Definitions: 1
Referenced from:
font-face
font.AT
Definitions: 1
Referenced from:
font
font.CM
Definitions: 1
Referenced from:
font
foreignObject
Definitions: 1
Referenced from:
svg.GCommon.group
foreignObject.AT
Definitions: 1
Referenced from:
foreignObject
foreignObject.CM
Definitions: 1
Referenced from:
foreignObject
g
Definitions: 1
Referenced from:
svg.G-noA.group
svg.G.group
g.AT
Definitions: 1
Referenced from:
g
glyph
Definitions: 1
Referenced from:
font.CM
glyph.AT
Definitions: 1
Referenced from:
glyph
glyph.CM
Definitions: 1
Referenced from:
glyph
handler
Definitions: 1
handler.AT
Definitions: 1
Referenced from:
handler
handler.ATCM
Definitions: 1
Referenced from:
handler
hkern
Definitions: 1
Referenced from:
font.CM
hkern.AT
Definitions: 1
Referenced from:
hkern
hkern.CM
Definitions: 1
Referenced from:
hkern
image
Definitions: 1
Referenced from:
svg.GCommon.group
image.AT
Definitions: 1
Referenced from:
image
image.CM
Definitions: 1
Referenced from:
image
line
Definitions: 1
Referenced from:
svg.GCommon.group
line.AT
Definitions: 1
Referenced from:
line
linearGradient
Definitions: 1
Referenced from:
svg.GCommon.group
linearGradient.AT
Definitions: 1
Referenced from:
linearGradient
listener
Definitions: 1
Referenced from:
svg.GCommon.group
listener.AT
Definitions: 1
Referenced from:
listener
listener.CM
Definitions: 1
Referenced from:
listener
metadata
Definitions: 1
Referenced from:
svg.Desc.group
missing-glyph
Definitions: 1
Referenced from:
font.CM
missing-glyph.AT
Definitions: 1
Referenced from:
missing-glyph
missing-glyph.CM
Definitions: 1
Referenced from:
missing-glyph
mpath
Definitions: 1
Referenced from:
animateMotion
mpath.AT
Definitions: 1
Referenced from:
mpath
path
Definitions: 1
Referenced from:
svg.GCommon.group
path.AT
Definitions: 1
Referenced from:
path
polyCommon.AT
Definitions: 1
Referenced from:
polygon
polyline
polygon
Definitions: 1
Referenced from:
svg.GCommon.group
polyline
Definitions: 1
Referenced from:
svg.GCommon.group
prefetch
Definitions: 1
Referenced from:
svg.GCommon.group
prefetch.AT
Definitions: 1
Referenced from:
prefetch
prefetch.CM
Definitions: 1
Referenced from:
prefetch
radialGradient
Definitions: 1
Referenced from:
svg.GCommon.group
radialGradient.AT
Definitions: 1
Referenced from:
radialGradient
rect
Definitions: 1
Referenced from:
svg.GCommon.group
rect.AT
Definitions: 1
Referenced from:
rect
script
Definitions: 1
Referenced from:
svg.GCommon.group
script.AT
Definitions: 1
Referenced from:
script
script.ATCM
Definitions: 1
Referenced from:
script
set
Definitions: 1
Referenced from:
svg.Animate.group
set.AT
Definitions: 1
Referenced from:
set
shapeCommon.CM
Definitions: 1
solidColor
Definitions: 1
Referenced from:
svg.GCommon.group
solidColor.AT
Definitions: 1
Referenced from:
solidColor
solidColor.CM
Definitions: 1
Referenced from:
solidColor
stop
Definitions: 1
Referenced from:
GradientCommon.CM
stop.AT
Definitions: 1
Referenced from:
stop
stop.CM
Definitions: 1
Referenced from:
stop
svg
Definitions: 1
Referenced from:
start
foreignObject.CM
svg.AT
Definitions: 1
Referenced from:
svg
svg.Animate.group
Definitions: 1, 2
svg.AnimateAdditionCommon.attr
Definitions: 1
svg.AnimateAttributeCommon.attr
Definitions: 1
svg.AnimateBegin.attr
Definitions: 1, 2
svg.AnimateCommon.attr
Definitions: 1
svg.AnimateSync.attr
Definitions: 1, 2
Referenced from:
animation.AT
audio.AT
video.AT
svg.AnimateSyncDefault.attr
Definitions: 1, 2
Referenced from:
svg.AT
svg.AnimateTiming.attr
Definitions: 1, 2
svg.AnimateTimingNoFillNoMinMax.attr
Definitions: 1, 2
svg.AnimateTimingNoMinMax.attr
Definitions: 1, 2
Referenced from:
svg.AnimateTiming.attr
svg.AnimateToCommon.attr
Definitions: 1
svg.AnimateTypeCommon.attr
Definitions: 1
Referenced from:
animateTransform.AT
svg.AnimateValueCommon.attr
Definitions: 1
svg.Conditional.attr
Definitions: 1, 2
svg.ContentType.attr
Definitions: 1, 2
svg.Core.attr
Definitions: 1, 2
svg.CoreCommon.attr
Definitions: 1
svg.CorePreserve.attr
Definitions: 1, 2
Referenced from:
handler.AT
script.AT
svg.CxCy.attr
Definitions: 1, 2
svg.D.attr
Definitions: 1, 2
svg.Desc.group
Definitions: 1, 2
svg.Discard.group
Definitions: 1, 2
svg.Editable.attr
Definitions: 1, 2
Referenced from:
text.AT
textArea.AT
svg.External.attr
Definitions: 1, 2
svg.Focus.attr
Definitions: 1, 2
svg.FocusHighlight.attr
Definitions: 1, 2
svg.FontAdvOrigCommon.attr
Definitions: 1
svg.G-noA.group
Definitions: 1
Referenced from:
svg.G-noA.group
svg.G.group
svg.G.group
Definitions: 1, 2
Referenced from:
defs
g
svg
svg.G.group
svg.GCommon.group
Definitions: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
Referenced from:
svg.G-noA.group
svg.G.group
svg.GradientCommon.attr
Definitions: 1
svg.Handler.group
Definitions: 1, 2
svg.InitialVisibility.attr
Definitions: 1, 2
Referenced from:
animation.AT
video.AT
svg.Media.attr
Definitions: 1, 2, 3
svg.Opacity.attr
Definitions: 1, 2
Referenced from:
image.AT
svg.PAR.attr
Definitions: 1, 2
svg.Properties.attr
Definitions: 1, 2, 3, 4, 5, 6, 7, 8, 9
svg.R.attr
Definitions: 1, 2
Referenced from:
circle.AT
radialGradient.AT
svg.RxRyCommon.attr
Definitions: 1
Referenced from:
ellipse.AT
rect.AT
svg.ShapeCommon.attr
Definitions: 1
svg.TextCommon-noA.group
Definitions: 1
svg.TextCommon.group
Definitions: 1, 2
svg.Transform.attr
Definitions: 1, 2
svg.WH.attr
Definitions: 1, 2
Referenced from:
svg.AT
svg.XYWH.attr
svg.X12Y12.attr
Definitions: 1, 2
Referenced from:
line.AT
linearGradient.AT
svg.XLink.attr
Definitions: 1, 2
svg.XLinkActuateOnLoad.attr
Definitions: 1
svg.XLinkBase.attr
Definitions: 1
svg.XLinkBaseRequired.attr
Definitions: 1
svg.XLinkEmbed.attr
Definitions: 1, 2
svg.XLinkHrefRequired.attr
Definitions: 1
svg.XLinkReplace.attr
Definitions: 1, 2
Referenced from:
a.AT
svg.XLinkRequired.attr
Definitions: 1, 2
svg.XLinkShowOther.attr
Definitions: 1
svg.XY.attr
Definitions: 1, 2
svg.XYWH.attr
Definitions: 1
switch.AT
Definitions: 1
tbreak
Definitions: 1
Referenced from:
textArea
tbreak.AT
Definitions: 1
Referenced from:
tbreak
\text
Definitions: 1
Referenced from:
svg.GCommon.group
text.AT
Definitions: 1
Referenced from:
\text
textArea
Definitions: 1
Referenced from:
svg.GCommon.group
textArea.AT
Definitions: 1
Referenced from:
textArea
title
Definitions: 1
Referenced from:
svg.Desc.group
tspan
Definitions: 1
tspan.AT
Definitions: 1
Referenced from:
textArea
tspan
use
Definitions: 1
Referenced from:
svg.G-noA.group
svg.G.group
use.AT
Definitions: 1
Referenced from:
use
use.CM
Definitions: 1
Referenced from:
use
video
Definitions: 1
Referenced from:
svg.GCommon.group
video.AT
Definitions: 1
Referenced from:
video
video.CM
Definitions: 1
Referenced from:
video