📄 svg-20000303-shared.dtd
字号:
<!-- This is the Shared DTD for SVG 1.0 (draft 20000303). It contains the element, attribute and entities definitions which are common to the DTD for Stylable SVG and the DTD for Exchange SVG. The only purpose of the Shared DTD is to serve as a single definition for the definitions of elements, attributes and entities that are common to the DTD for Stylable SVG and the DTD for Exchange SVG. The Shared DTD should not be used directly; instead, use either the DTD for Stylable SVG or the DTD for Exchange SVG. The specification for SVG that corresponds to this DTD is available at: http://www.w3.org/TR/2000/03/WD-SVG-20000303/ Copyright (c) 2000 W3C (MIT, INRIA, Keio), All Rights Reserved. For this working draft: Namespaces: Stylable SVG: http://www.w3.org/2000/svg-20000303-stylable Exchange SVG: http://www.w3.org/2000/svg-20000303-exchange Public identifiers: PUBLIC "-//W3C//DTD SVG 20000303 Shared//EN" PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN" PUBLIC "-//W3C//DTD SVG 20000303 Exchange//EN" URIs for the DTDs: http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-shared.dtd http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-exchange.dtd--><!--=================== Entity definitions ===================--><!ENTITY % BaselineShiftValue "CDATA"> <!-- 'baseline-shift' property/attribute value (e.g., 'baseline', 'sub', etc.) --><!ENTITY % Boolean "(false | true)"> <!-- feature specification --><!ENTITY % ClassList "CDATA"> <!-- list of classes --><!ENTITY % ClipValue "CDATA"> <!-- 'clip' property/attribute value (e.g., 'auto', rect(...)) --><!ENTITY % ClipPathValue "CDATA"> <!-- 'clip-path' property/attribute value (e.g., 'none', %URI;) --><!ENTITY % ClipFillRule "(evenodd | nonzero | inherit)"> <!-- 'clip-rule' or fill-rule property/attribute value --><!ENTITY % ContentType "CDATA"> <!-- media type, as per [RFC2045] --><!ENTITY % Coordinate "CDATA"> <!-- a <coordinate> --><!ENTITY % Coordinates "CDATA"> <!-- a list of <coordinate>s --><!ENTITY % CSSColor "CDATA"> <!-- a <color> value, as per [CSS2-color] --><!ENTITY % CursorValue "CDATA"> <!-- 'cursor' property/attribute value (e.g., 'crosshair', %URI;) --><!ENTITY % EnableBackgroundValue "CDATA"> <!-- 'enable-background' property/attribute value (e.g., 'new', 'accumulate') --><!ENTITY % Feature "CDATA"> <!-- feature specification --><!ENTITY % FilterValue "CDATA"> <!-- 'filter' property/attribute value (e.g., 'none', %URI;) --><!ENTITY % FontFamilyValue "CDATA"> <!-- 'font-family' property/attribute value (i.e., list of fonts) --><!ENTITY % FontSizeValue "CDATA"> <!-- 'font-size' property/attribute value --><!ENTITY % FontSizeAdjustValue "CDATA"> <!-- 'font-size-adjust' property/attribute value --><!ENTITY % GlyphOrientationHorizontalValue "CDATA"> <!-- 'glyph-orientation-horizontal' property/attribute value (e.g., <angle>) --><!ENTITY % GlyphOrientationVerticalValue "CDATA"> <!-- 'glyph-orientation-vertical' property/attribute value (e.g., 'auto', <angle>) --><!ENTITY % Integer "CDATA"> <!-- a <integer> --><!ENTITY % LanguageCode "NMTOKEN"> <!-- a language code, as per [RFC1766] --><!ENTITY % LanguageCodes "CDATA"> <!-- comma-separated list of language codes, as per [RFC1766] --><!ENTITY % Length "CDATA"> <!-- a <length> --><!ENTITY % Lengths "CDATA"> <!-- a list of <length>s --><!ENTITY % LinkTarget "NMTOKEN"> <!-- link to this target --><!ENTITY % MarkerValue "CDATA"> <!-- 'marker' property/attribute value (e.g., 'none', %URI;) --><!ENTITY % MaskValue "CDATA"> <!-- 'mask' property/attribute value (e.g., 'none', %URI;) --><!ENTITY % Number "CDATA"> <!-- a <number> --><!ENTITY % OpacityValue "CDATA"> <!-- opacity value (e.g., <number>) --><!ENTITY % Paint "CDATA"> <!-- a 'fill' or 'stroke' property/attribute value: <paint> --><!ENTITY % PathData "CDATA"> <!-- a path data specification --><!ENTITY % Points "CDATA"> <!-- a list of points --><!ENTITY % PreserveAspectRatioSpec "CDATA"> <!-- 'preserveAspectRatio' attribute specification --><!ENTITY % Script "CDATA"> <!-- script expression --><!ENTITY % SpacingValue "CDATA"> <!-- 'letter-spacing' or 'word-spacing' property/attribute value (e.g., normal | <length>) --><!ENTITY % StopColorValue "CDATA"> <!-- 'stop-color' property/attribute value --><!ENTITY % StrokeDashArrayValue "CDATA"> <!-- 'stroke-dasharray' property/attribute value (e.g., 'none', list of <number>s) --><!ENTITY % StrokeDashOffsetValue "CDATA"> <!-- 'stroke-dashoffset' property/attribute value (e.g., 'none', <legnth>) --><!ENTITY % StrokeMiterLimitValue "CDATA"> <!-- 'stroke-miterlimit' property/attribute value (e.g., <number>) --><!ENTITY % StrokeWidthValue "CDATA"> <!-- 'stroke-width' property/attribute value (e.g., <length>) --><!ENTITY % StructuredText "content CDATA #FIXED 'structured text'" ><!ENTITY % StyleSheet "CDATA"> <!-- style sheet data --><!ENTITY % SVGColor "CDATA"> <!-- An SVG color value (RGB plus optional ICC) --><!ENTITY % TextDecorationValue "CDATA"> <!-- 'text-decoration' property/attribute value (e.g., 'none', 'underline') --><!ENTITY % TransformList "CDATA"> <!-- list of transforms --><!ENTITY % URI "CDATA"> <!-- a Uniform Resource Identifier, see [URI] --><!ENTITY % ViewBoxSpec "CDATA"> <!-- 'viewBox' attribute specification --><!-- This entity allows for at most one of desc and title, supplied in any order --><!ENTITY % descTitle "((desc,title?)|(title,desc?)?)" ><!-- This entity allows for at most one of desc, title and defs, supplied in any order --><!ENTITY % descTitleDefs "(((desc,((title,defs?)|(defs,title?))?)| (title,((desc,defs?)|(defs,desc?))?)| (defs,((desc,title?)|(title,desc?))?))?)" ><!-- All elements have an ID. --><!ENTITY % stdAttrs "id ID #IMPLIED" ><!-- Common attributes for elements that might contain character data content. --><!ENTITY % langSpaceAttrs "xml:lang %LanguageCode; #IMPLIED xml:space (default|preserve) #IMPLIED" ><!-- Common attributes to check for system capabilities. --><!ENTITY % testAttrs "system-required %Feature; #IMPLIED system-language %LanguageCodes; #IMPLIED" ><!-- For most uses of URI referencing: standard XLink attributes other than xlink:href. --><!ENTITY % xlinkRefAttrs "xmlns:xlink CDATA #FIXED 'http://www.w3.org/2000/xlink/namespace/' xlink:type (simple|extended|locator|arc) 'simple' xlink:role CDATA #IMPLIED xlink:title CDATA #IMPLIED xlink:show (new|embed|replace) 'embed' xlink:actuate (onRequest|onLoad) 'onLoad'" ><!ENTITY % graphicsElementEvents "onfocusin %Script; #IMPLIED onfocusout %Script; #IMPLIED onactivate %Script; #IMPLIED onmousedown %Script; #IMPLIED onmouseup %Script; #IMPLIED onclick %Script; #IMPLIED ondblclick %Script; #IMPLIED onmouseover %Script; #IMPLIED onmousemove %Script; #IMPLIED onmouseout %Script; #IMPLIED onkeydown %Script; #IMPLIED onkeypress %Script; #IMPLIED onkeyup %Script; #IMPLIED onload %Script; #IMPLIED onselect %Script; #IMPLIED" ><!ENTITY % documentEvents "onresize %Script; #IMPLIED onscroll %Script; #IMPLIED onunload %Script; #IMPLIED onzoom %Script; #IMPLIED onerror %Script; #IMPLIED onabort %Script; #IMPLIED " ><!-- Definitions of elements and attributes that only apply to Stylable SVG --><!-- Stylable SVG has a 'style' element and puts a 'style' attribute on most elements. --><![%StylableSVG;[ <!ENTITY % StylableSVG-StyleElement "|style" > <!ENTITY % StylableSVG-StyleAttribute "style %StyleSheet; #IMPLIED" >]]><!-- These elements and attributes are not available for Exchange SVG. --><![%ExchangeSVG;[ <!-- For Exchange SVG only, the 'style' attribute and 'style' element are removed from most elements. --> <!ENTITY % StylableSVG-StyleAttribute "" > <!ENTITY % StylableSVG-StyleElement "" >]]><!-- Definitions of attribute collections that only apply to Exchange SVG --><![%ExchangeSVG;[ <!-- For Exchange SVG only, all container elements have these attributes. --> <!ENTITY % ExchangeSVG-ContainerAttrs "enable-background %EnableBackgroundValue; #IMPLIED " > <!-- For Exchange SVG only, attributes on elements that can be filled or stroked. --> <!ENTITY % ExchangeSVG-FillStrokeAttrs "fill %Paint; #IMPLIED fill-opacity %OpacityValue; #IMPLIED fill-rule %ClipFillRule; #IMPLIED stroke %Paint; #IMPLIED stroke-dasharray %StrokeDashArrayValue; #IMPLIED stroke-dashoffset %StrokeDashOffsetValue; #IMPLIED stroke-linecap (butt | round | square | inherit) #IMPLIED stroke-linejoin (miter | round | bevel | inherit) #IMPLIED stroke-miterlimit %StrokeMiterLimitValue; #IMPLIED stroke-opacity %OpacityValue; #IMPLIED stroke-width %StrokeWidthValue; #IMPLIED " > <!-- For Exchange SVG only, all gradient elements have these attributes. --> <!ENTITY % ExchangeSVG-GradientAttrs "stop-color %StopColorValue; #IMPLIED stop-opacity %OpacityValue; #IMPLIED " > <!-- For Exchange SVG only, all graphics elements have these attributes. --> <!ENTITY % ExchangeSVG-GraphicsAttrs "clip-path %ClipPathValue; #IMPLIED clip-rule %ClipFillRule; #IMPLIED color %CSSColor; #IMPLIED color-interpolation (auto | sRGB | linearRGB | inherit) #IMPLIED color-rendering (auto | optimizeSpeed | optimizeQuality | inherit) #IMPLIED cursor %CursorValue; #IMPLIED 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) #IMPLIED filter %FilterValue; #IMPLIED image-rendering (auto | optimizeSpeed | optimizeQuality | inherit) #IMPLIED mask %MaskValue; #IMPLIED opacity %OpacityValue; #IMPLIED pointer-events (visiblePainted | visibleFill | visibleStroke | visibleFillStroke | visible | painted | fill | stroke | fillstroke | all | none | inherit) #IMPLIED shape-rendering (auto | optimizeSpeed | crispEdges | geometricPrecision | inherit) #IMPLIED text-rendering (auto | optimizeSpeed | optimizeLegibility | geometricPrecision | inherit) #IMPLIED visibility (visible | hidden | inherit) #IMPLIED " > <!-- For Exchange SVG only, container elements and certain graphics elements have these attributes. --> <!ENTITY % ExchangeSVG-MarkerAttrs "marker-start %MarkerValue; #IMPLIED marker-mid %MarkerValue; #IMPLIED marker-end %MarkerValue; #IMPLIED " > <!-- For Exchange SVG only, all text container elements have these attributes. --> <!ENTITY % ExchangeSVG-TextContainerAttrs "baseline-identifier (baseline | top | before-edge | text-top | text-before-edge | middle | bottom | after-edge | text-bottom | text-after-edge | ideographic | lower | hanging | mathematical | inherit) #IMPLIED baseline-shift %BaselineShiftValue; #IMPLIED direction (ltr | rtl | inherit) #IMPLIED font-family %FontFamilyValue; #IMPLIED font-size %FontSizeValue; #IMPLIED font-size-adjust %FontSizeAdjustValue; #IMPLIED font-stretch (normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit) #IMPLIED font-style (normal | italic | oblique | inherit) #IMPLIED font-variant (normal | small-caps | inherit) #IMPLIED font-weight (normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit) #IMPLIED glyph-orientation-horizontal %GlyphOrientationHorizontalValue; #IMPLIED glyph-orientation-vertical %GlyphOrientationVerticalValue; #IMPLIED letter-spacing %SpacingValue; #IMPLIED text-decoration %TextDecorationValue; #IMPLIED unicode-bidi (normal | embed | bidi-override | inherit) #IMPLIED word-spacing %SpacingValue; #IMPLIED " > <!-- For Exchange SVG only, the 'text' element has these attributes. --> <!ENTITY % ExchangeSVG-TextElementAttrs "dominant-baseline (auto | autosense-script | no-change | reset| ideographic | lower | hanging | mathematical | inherit ) #IMPLIED text-anchor (start | middle | end | inherit) #IMPLIED writing-mode (lr-tb | rl-tb | tb-rl | lr | rl | tb | inherit) #IMPLIED " > <!-- For Exchange SVG only, all elements that establish viewports have these attributes. --> <!ENTITY % ExchangeSVG-ViewportAttrs "clip %ClipValue; #IMPLIED overflow (visible | hidden | scroll | auto | inherit) #IMPLIED " > <!-- For Exchange SVG only, feFlood has these attributes. --> <!ENTITY % ExchangeSVG-feFloodAttrs "flood-color %SVGColor; #IMPLIED flood-opacity %OpacityValue; #IMPLIED " >]]><!-- These above Exchange SVG attribute collections are not available for Stylable SVG. --><![%StylableSVG;[ <!ENTITY % ExchangeSVG-ContainerAttrs "" > <!ENTITY % ExchangeSVG-FillStrokeAttrs "" > <!ENTITY % ExchangeSVG-GradientAttrs "" > <!ENTITY % ExchangeSVG-GraphicsAttrs "" > <!ENTITY % ExchangeSVG-MarkerAttrs "" > <!ENTITY % ExchangeSVG-TextContainerAttrs "" > <!ENTITY % ExchangeSVG-TextElementAttrs "" > <!ENTITY % ExchangeSVG-ViewportAttrs "" > <!ENTITY % ExchangeSVG-feFloodAttrs "" >]]><!-- Definitions of elements that only apply to Exchange SVG --><!-- Exchange SVG has a corresponding XML version of the @font-face and @color-profile features available when SVG is styled with CSS. --><![%ExchangeSVG;[ <!ENTITY % ExchangeSVG-ColorProfileElement "|color-profile" > <!ENTITY % ExchangeSVG-FontFaceElement "|font-face" >]]><!-- These elements are not available for Stylable SVG. --><![%StylableSVG;[ <!ENTITY % ExchangeSVG-ColorProfileElement "" > <!ENTITY % ExchangeSVG-FontFaceElement "" >]]><!-- Allow for extending the DTD with internal subset for container and graphics elements --><!ENTITY % ceExt "" ><!ENTITY % geExt "" ><!--========== Document Structure and Grouping ==========--><!ENTITY % svgExt "" ><!ELEMENT svg (%descTitleDefs;,metadata?, (path|text|rect|circle|ellipse|line|polyline|polygon|
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -