Network Working Group | N. Brownlee |
Internet-Draft | The University of Auckland |
Intended status: Informational | IAB |
Expires: August 29, 2016 | February 26, 2016 |
Note: a later version of this document has been published as RFC 7996.
. Maybe the text in section This document specifies SVG 1.2 RFC - an SVG profile for use in diagrams that may appear in RFCs - and considers some of the issues concerning the creation and use of such diagrams.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at http://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work in progress”.¶
This Internet-Draft will expire on August 29, 2016.¶
Copyright (c) 2016 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.¶
Over the last few years the RFC Editor has worked with the Internet community to develop specifications for changes in the format of RFCs. An outline of the resulting specifications was published as [RFC6949] in May 2013. Since then a Design Team has been working with the RFC Editor to flesh out those specifications. One aspect of the changes is to allow line drawings in RFCs; [RFC6949] says ¶
SVG (Scalable Vector Graphics) has been developed by W3C, the World Wide Web Consortium; its current standard is SVG 1.1 Full [W3C.REC-SVG11-20110816]. This document defines SVG 1.2 RFC, an SVG profile (i.e. a subset of SVG) that is suitable for RFC line drawings.¶
Note that in RFCs, the text provides normative descriptions of protocols, systems, etc. Diagrams may be used to help explain concepts more clearly, but they provide supporting detail, and should not be considered to be complete specifications in themselves. ¶
The details (particularly any vocabularies) described in this document are expected to change based on experience gained in implementing the RFC production center's toolset. Revised documents will be published capturing those changes as the toolset is completed. Other implementors must not expect those changes to remain backwards-compatible with the details described in this document.¶
As a starting point for SVG 1.2 RFC, the Design Team decided to use SVG 1.2 Tiny [W3C.REC-SVGTiny12-20081222]. SVG 1.2 Tiny is an SVG subset intended to be implemented on small, mobile devices such as cellphones and smartphones. That should allow RFCs to be rendered well on such devices, especially those that have small screens. However, RFCs are self-contained documents that do not change once they are published. The use of SVG drawings in RFCs is intended to allow authors to create drawings that are simple to produce, and easier to understand than our traditional 'ASCII Art' ones. In short, we are also trying to improve access to the content in RFCs, so SVG drawings need to be kept as simple as possible.¶
Appendix A (below) provides a complete RELAX NG Compact (rnc) schema for SVG 1.2 RFC. It is derived from the SVG 1.2 schema, and is the formal definition of SVG 1.2 RFC. The remainder of this section gives a simplified - i.e. easier to read and dunderstand - overview of SVG 1.2 RFC.¶
SVG can provide a complete User Interface, but within RFCs, all we need are simple diagrams that do not change once the RFC is published. Therefore, SVG RFC does not allow anything from the following sections in SVG Tiny 1.2 [W3C.REC-SVGTiny12-20081222]: ¶
Note that SVG Tiny 1.2 elements may have many properties or attributes that are needed to support aspects of the above sections. Those are not allowed in SVG 1.2 RFC.
Considering the other sections in SVG Tiny 1.2 [W3C.REC-SVGTiny12-20081222]:¶
Elements, properties and attributes selected for SVG 1.2 RFC from [W3C.REC-SVGTiny12-20081222]. ¶
In the list below, elements and properties are listed on the left,and their allowed values are given in parentheses on the right. <color> is the list of allowed colors, a black-and-white subset of the SVG color names. <style> is a set of CSS attributes that are commonly used (by SVG drawing applications). They are not part of SVG Tiny 1.2, but are included here for compatibility. Note that - There is no guarantee that any renderer will implement all the CSS attributes a drawing application may use. - Authors will need to consider the compatibility of their drawings with rendering devices. Elements: svg (version=1.2, baseProfile=tiny, width, viewBox, preserveAspectRatio, snapshotTime, height, id, role) g (label, class, id, role, fill, <style>, transform) defs (id, role, fill) title (id, role) desc (id, role) a (id, role, fill, transform) use (x, y, href, xlink:href, id, role, fill, transform) rect (x, y, width, height, rx, ry, stroke-miterlimit id, role, fill, <style>, transform) circle (cx, cy, r, id, role, fill, <style>, transform) ellipse (cx, cy, rx, ry, id, role, fill, <style>, transform) line (x1, y1, x2, y2, id, role, fill, transform) polyline (points, id, role, fill, transform) polygon (points, id, role, fill, <style>, transform) text (x, y, rotate, space, id, role, fill, <style>, transform) tspan (x, y, id, role, fill) textArea (x, y, width, height, auto, id, role, fill, transform) tbreak (id, role) solidColor (id, role, fill) linearGradient (gradientUnits, x1, y1, x2, y2, id, role, fill) radialGradient (gradientUnits, cx, cy, r, id, role, fill) stop (id, role, fill) path (d, pathLength, stroke-miterlimit, id, role, fill, <style>, transform) Properties: (most allow inherit as a value) <style> (font-family, font-weight, font-style, font-variant, direction, unicode-bidi, text-anchor, fill, fill-rule) <color> (black, white, #000000, #ffffff, #FFFFFF) stroke (<color>, none, currentColor) stroke-width stroke-linecap (butt, round, square) stroke-linejoin (miter, round, bevel) stroke-mitrelimit stroke-dasharray stroke-dashoffset stroke-opacity vector-effect (non-scaling-stroke, none) viewport-fill (none, currentColor) viewport-fill-opacity 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) visibility (visible, hidden, collapse) color-rendering (auto, optimizeSpeed, optimizeQuality) shape-rendering (auto, optimizeSpeed, crispEdges, geometricPrecision) text-rendering (auto, optimizeSpeed, optimizeLegibility, geometricPrecision) buffered-rendering (auto, dynamic, static) opacity solid-opacity solid-color (currentColor, <color>) color (currentColor, <color>) stop-color (currentColor, <color>) stop-opacity line-increment (auto) text-align (start,end, center) display-align (auto, before, center, after) font-size font-family (serif, sans-serif, monospace) font-weight (normal, bold, bolder, lighter) font-style (normal, italic, oblique) font-variant (normal, small-caps) direction (ltr, rtl) unicode-bidi (normal, embed, bidi-override) text-anchor (start, middle, end) fill (none, <color>) fill-rule (nonzero, evenodd) fill-opacity
Many drawing packages can be used to create SVG drawings, for example Open Source packages Inkscape and Dia. Be aware that such packages may use SVG elements or attributes that are not allowed in SVG 1.2 RFC. ¶
Diagrams produced with these packages may contain elements, their attributes or properties, or values of attributes or properties that are not allowed in SVG 1.2 RFC. We will need to provide a tool to strip out anything that is not allowed in SVG 1.2 RFC, or to replace disallowed values, e.g., 'sans-serif' for 'Sans' as values for 'font-family'. Experience with a simple test version of a tool for this has shown that such deletion and replacement can be effective for making SVG files from drawing packages conform to SVG 1.2 RFC, without visibly changing the diagrams they produce.¶
The tool described above can also be used by Authors simply to check that their diagrams conform to SVG 1.2 RFC. To help with this, if visible changes do occur, the tool should produce a list of non-allowed keywords and the context in which they were found.¶
To include a diagram into an RFC, the xml2rfc (v3) tool will need to provide a way to include SVG drawings in Internet Drafts, as described in [XML2RFCv3] sections 2.5 and 2.67.¶
One of the long-term goals for RFCs is to make them more accessible, e.g. to sight-impaired readers. For diagrams, it would be useful for authors to provide alternative forms of the diagram, so that voice-reading software could be used to 'talk through' the diagram. Simply reading the SVG code for a complex diagram seems unlikely to work.¶
SVG 1.2 RFC allows SVG's 'title' and 'desc' elements. 'title' provides a brief text caption for an SVG object (much like a figure caption), and 'desc' provides a longer text description of what the object actually represents. As well, the SVG 'role' attribute can be used to indicate to a browser how an SVG object is to be interpreted. Good suggestions on how to use these elements are given in [SVG-ACCESS-TIPS].¶
ARIA is a W3C Recommendation for using SVG to create 'Accessible Rich Internet Applications.' A helpful introduction to ARIA is provided by [SVG-ARIA-PRIMER], while [SVG-USING-ARIA] gives examples of how to use ARIA to enhance SVG accessibility.¶
Another way to create SVG drawings is to write programs to draw them. For example, using python and its svgwrite module is a pleasant environment (for those who like writing code); this section presents a few examples of diagrams created in this way. Note that they are merely examples of typical diagrams from RFCs.¶
The SVG diagrams for this section can be seen at [This-I-D-with-SVG-included] along with an html version of this draft that includes the SVG diagrams.¶
Example: Figure 6 from [ExpTrustedProxy].¶
This document does not create a new registry nor does it register any values in existing registries; no IANA action is required.¶
Thanks to the RSE and the Design Team members for their helpful comments and suggestions for SVG 1.2 RFC, as well as from the wider IETF community.¶
The following rnc schema can be used to check whether an svg file conforms to SVG 1.2 RFC. For example, if this schema were contained in a file called SVG-1.2-RFC.rnc, the following command will test whether svg file diagram.svg is a conformant SVG 1.2 RFC drawing.¶
jing -c SVG-1.2-RFC.rnc diagram.svg¶
#--- SVG 1.2 RFC rnc schema; Nevil Brownlee, Fri 26 Feb 2016 (NZDT) default namespace = "http://www.w3.org/2000/svg" namespace ns1 = "http://www.w3.org/1999/xlink" rfc-color = ( # SVG-1.2-RFC doesn't allow "color or grey-scale" "black" | "white" | "#000000" | "#FFFFFF" | "#ffffff" | "inherit" ) start = svg svg = element svg { ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute width { xsd:string }?, attribute height { xsd:string }?, attribute preserveAspectRatio { xsd:string { pattern = "\s*(none|xMidYMid)\s*(meet)?\s*" } }?, attribute viewBox { text }?, attribute zoomAndPan { "disable" }?, attribute version { xsd:string "1.2" }?, attribute baseProfile { xsd:string "tiny" }?, attribute contentScriptType { xsd:string }?, attribute snapshotTime { xsd:string "none" | xsd:string }?, attribute timelineBegin { xsd:string "onLoad" | xsd:string "onStart" }?, attribute playbackOrder { xsd:string "all" | xsd:string "forwardOnly" }?, (desc | svgTitle | path | rect | circle | line | ellipse | polyline | polygon | solidColor | textArea | linearGradient | radialGradient | \text | g | defs | use | a)* } desc = element desc { (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, ((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" }?, attribute visibility { "visible" | "hidden" | "collapse" | "inherit" }?, attribute image-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?, attribute shape-rendering { "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision" | "inherit" }?, attribute text-rendering { "auto" | "optimizeSpeed" | "optimizeLegibility" | "geometricPrecision" | "inherit" }?, attribute buffered-rendering { "auto" | "dynamic" | "static" | "inherit" }?) & (attribute viewport-fill { "none" | rfc-color }?, attribute viewport-fill-opacity { "inherit" | xsd:string }?)), text } svgTitle = element title { (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, ((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" }?, attribute visibility { "visible" | "hidden" | "collapse" | "inherit" }?, attribute image-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?, attribute shape-rendering { "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision" | "inherit" }?, attribute text-rendering { "auto" | "optimizeSpeed" | "optimizeLegibility" | "geometricPrecision" | "inherit" }?, attribute buffered-rendering { "auto" | "dynamic" | "static" | "inherit" }?) & (attribute viewport-fill { "none" | rfc-color }?, attribute viewport-fill-opacity { "inherit" | xsd:string }?)), text } path = element path { (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute transform { xsd:string | "none" }?, ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, attribute d { xsd:string }?, attribute pathLength { xsd:string }?, attribute style { xsd:string }?, # Added to SVG-1.2-RFC (Inkscape) (desc | svgTitle)* } rect = element rect { (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute transform { xsd:string | "none" }?, ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, attribute x { xsd:string }?, attribute y { xsd:string }?, attribute width { xsd:string }?, attribute height { xsd:string }?, attribute rx { xsd:string }?, attribute ry { xsd:string }?, attribute style { xsd:string }?, # Added to SVG-1.2-RFC (Inkscape) (desc | svgTitle)* } circle = element circle { (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute transform { xsd:string | "none" }?, ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, attribute cx { xsd:string }?, attribute cy { xsd:string }?, attribute r { xsd:string }?, attribute style { xsd:string }?, # Added to SVG-1.2-RFC (Inkscape) (desc | svgTitle)* } line = element line { (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute transform { xsd:string | "none" }?, ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, attribute x1 { xsd:string }?, attribute y1 { xsd:string }?, attribute x2 { xsd:string }?, attribute y2 { xsd:string }?, (desc | svgTitle)* } ellipse = element ellipse { (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute transform { xsd:string | "none" }?, ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, attribute rx { xsd:string }?, attribute ry { xsd:string }?, attribute cx { xsd:string }?, attribute cy { xsd:string }?, attribute style { xsd:string }?, # Added to SVG-1.2-RFC (Inkscape) (desc | svgTitle)* } polyline = element polyline { (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute transform { xsd:string | "none" }?, ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, attribute points { xsd:string }?, (desc | svgTitle)* } polygon = element polygon { (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute transform { xsd:string | "none" }?, ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, attribute points { xsd:string }?, attribute style { xsd:string }?, # Added to SVG-1.2-RFC (Inkscape) (desc | svgTitle)* } solidColor = element solidColor { ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, (desc | svgTitle)* } textArea = element textArea { ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, attribute transform { xsd:string | "none" }?, attribute x { xsd:string }?, attribute y { xsd:string }?, attribute width { xsd:string | "auto" }?, attribute height { xsd:string | "auto" }?, (tspan | desc | svgTitle | tspan_2 | text | a_2)+ } linearGradient = element linearGradient { ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), attribute gradientUnits { "userSpaceOnUse" | "objectBoundingBox" }?, (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute x1 { xsd:string }?, attribute y1 { xsd:string }?, attribute x2 { xsd:string }?, attribute y2 { xsd:string }?, (desc | svgTitle)* } radialGradient = element radialGradient { ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), attribute gradientUnits { "userSpaceOnUse" | "objectBoundingBox" }?, (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute cx { xsd:string }?, attribute cy { xsd:string }?, attribute r { xsd:string }?, (desc | svgTitle)* } \text = element text { ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, attribute transform { xsd:string | "none" }?, attribute x { xsd:string }?, attribute y { xsd:string }?, attribute rotate { xsd:string }?, attribute style { xsd:string }?, # Added to SVG-1.2-RFC (Inkscape) (desc | svgTitle | tspan_2 | text | a_2)+ } g = element g { ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, attribute transform { xsd:string | "none" }?, attribute style { xsd:string }?, # Added to SVG-1.2-RFC (for Inkscape) attribute visibility { "visible" | "hidden" | "collapse" | "inherit" }?, # Added to SVG-1.2-RFC (for LibreOffice) (desc | svgTitle | path | rect | circle | line | ellipse | polyline | polygon | solidColor | textArea | linearGradient | radialGradient | \text | g | defs | use | a)* } defs = element defs { ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, (desc | svgTitle | path | rect | circle | line | ellipse | polyline | polygon | solidColor | textArea | linearGradient | radialGradient | \text | g | defs | use | a)* } use = element use { ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, attribute transform { xsd:string | "none" }?, attribute ns1:show { "embed" }?, attribute ns1:actuate { "onLoad" }?, attribute ns1:type { "simple" }?, attribute ns1:role { xsd:anyURI | xsd:string }?, attribute ns1:arcrole { xsd:anyURI | xsd:string }?, attribute ns1:title { text }?, attribute ns1:href { xsd:anyURI | xsd:string }?, attribute x { xsd:string }?, attribute y { xsd:string }?, (desc | svgTitle)* } a = element a { (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), attribute transform { xsd:string | "none" }?, attribute ns1:show { "new" | "replace" }?, attribute ns1:actuate { "onRequest" }?, attribute ns1:type { "simple" }?, attribute ns1:role { xsd:anyURI | xsd:string }?, attribute ns1:arcrole { xsd:anyURI | xsd:string }?, attribute ns1:title { text }?, attribute ns1:href { xsd:anyURI | xsd:string }?, attribute target { "_replace" | "_self" | "_parent" | "_top" | "_blank" | xsd:Name }?, (desc | svgTitle | path | rect | circle | line | ellipse | polyline | polygon | solidColor | textArea | linearGradient | radialGradient | \text | g | defs | use)* } stop = element stop { ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "inherit" | xsd:string }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { "inherit" | xsd:string }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { "inherit" | xsd:string }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { "inherit" | xsd:string }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute offset { xsd:string }?, (desc | svgTitle)* } tspan = element tspan { ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, attribute x { xsd:string }?, # For SVG-1.2-RFC attribute y { xsd:string }?, (tbreak | desc | svgTitle | tspan_2 | text | a_2)+ } tspan_2 = element tspan { ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, attribute x { xsd:string }?, # For SVG-1.2-RFC attribute y { xsd:string }?, (desc | svgTitle | tspan_2 | text | a_2)+ } a_2 = element a { (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }?, ((attribute fill-opacity { "inherit" | xsd:string }?, attribute stroke-opacity { "inherit" | xsd:string }?) & (attribute fill { "none" | rfc-color }?, attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?, attribute stroke { rfc-color }?, attribute stroke-dasharray { "inherit" | "none" | xsd:string }?, attribute stroke-dashoffset { "inherit" | xsd:string }?, attribute stroke-linecap { "butt" | "round" | "square" | "inherit" }?, attribute stroke-linejoin { "miter" | "round" | "bevel" | "inherit" }?, attribute stroke-miterlimit { "inherit" | xsd:string }?, attribute stroke-width { "inherit" | xsd:string }?, attribute color { rfc-color }?, attribute color-rendering { "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" }?) & attribute vector-effect { "none" | "non-scaling-stroke" | "inherit" }? & (attribute direction { "ltr" | "rtl" | "inherit" }?, attribute unicode-bidi { "normal" | "embed" | "bidi-override" | "inherit" }?) & (attribute solid-color { rfc-color }?, attribute solid-opacity { "inherit" | xsd:string }?) & (attribute display-align { "auto" | "before" | "center" | "after" | "inherit" }?, attribute line-increment { "auto" | "inherit" | xsd:string }?) & (attribute stop-color { rfc-color }?, attribute stop-opacity { "inherit" | xsd:string }?) & (attribute font-family { "inherit" | xsd:string }?, attribute font-size { "inherit" | xsd:string }?, attribute font-style { "normal" | "italic" | "oblique" | "inherit" }?, attribute font-variant { "normal" | "small-caps" | "inherit" }?, attribute font-weight { "normal" | "bold" | "bolder" | "lighter" | "inherit" }?, attribute text-anchor { "start" | "middle" | "end" | "inherit" }?, attribute text-align { "start" | "center" | "end" | "inherit" }?)), attribute transform { xsd:string | "none" }?, attribute ns1:show { "new" | "replace" }?, attribute ns1:actuate { "onRequest" }?, attribute ns1:type { "simple" }?, attribute ns1:role { xsd:anyURI | xsd:string }?, attribute ns1:arcrole { xsd:anyURI | xsd:string }?, attribute ns1:title { text }?, attribute ns1:href { xsd:anyURI | xsd:string }?, attribute target { "_replace" | "_self" | "_parent" | "_top" | "_blank" | xsd:Name }?, (desc | svgTitle | tspan_2 | text)+ } tbreak = element tbreak { (attribute id { xsd:NCName } | attribute xml:id { xsd:NCName })?, attribute xml:base { xsd:anyURI | xsd:string }?, attribute xml:lang { xsd:language? }?, attribute class { xsd:NMTOKENS }?, attribute role { xsd:string }?, attribute rel { xsd:string }?, attribute rev { xsd:string }?, attribute typeof { xsd:string }?, attribute content { xsd:string }?, attribute datatype { xsd:string }?, attribute resource { xsd:string }?, attribute about { xsd:string }?, attribute property { xsd:string }?, attribute xml:space { "default" | "preserve" }?, attribute requiredFeatures { xsd:string }?, attribute requiredExtensions { xsd:string }?, attribute requiredFormats { xsd:string }?, attribute requiredFonts { xsd:string }?, attribute systemLanguage { xsd:string }? } #--- End of SVG 1.2 RFC rnc schema