summaryrefslogtreecommitdiff
path: root/xml/xml-psi-impl/resources/standardSchemas/xlink.dtd
blob: 1a8f153e55db50d4fc79df102d06c15d61dab87a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!ELEMENT simple ANY>
<!ATTLIST simple
    xlink:type      (simple)        #FIXED "simple"
    xlink:href      CDATA           #IMPLIED
    xlink:role      CDATA           #IMPLIED
    xlink:arcrole   CDATA           #IMPLIED
    xlink:title     CDATA           #IMPLIED
    xlink:show      (new
        |replace
        |embed
        |other
        |none)          #IMPLIED
    xlink:actuate   (onLoad
        |onRequest
        |other
        |none)          #IMPLIED>

<!ELEMENT extended ((title|resource|locator|arc)*)>
<!ATTLIST extended
    xmlns:xlink     CDATA           #FIXED "http://www.w3.org/1999/xlink"
    xlink:type      (extended)      #FIXED "extended"
    xlink:role      CDATA           #IMPLIED
    xlink:title     CDATA           #IMPLIED>

<!ELEMENT title ANY>
<!-- xml:lang is not required, but provides much of the motivation
      for title elements in addition to attributes, and so is provided
      here for convenience -->
<!ATTLIST title
    xlink:type      (title)         #FIXED "title"
    xml:lang        CDATA           #IMPLIED>

<!ELEMENT resource ANY>
<!ATTLIST resource
    xlink:type      (resource)      #FIXED "resource"
    xlink:role      CDATA           #IMPLIED
    xlink:title     CDATA           #IMPLIED
    xlink:label     NMTOKEN         #IMPLIED>

<!ELEMENT locator (title*)>
<!-- label is not required, but locators have no particular XLink
     function if they are not labeled -->
<!ATTLIST locator
    xlink:type      (locator)       #FIXED "locator"
    xlink:href      CDATA           #REQUIRED
    xlink:role      CDATA           #IMPLIED
    xlink:title     CDATA           #IMPLIED
    xlink:label     NMTOKEN         #IMPLIED>

<!ELEMENT arc (title*)>
<!-- from and to have default behavior when values are missing -->
<!ATTLIST arc
    xlink:type      (arc)           #FIXED "arc"
    xlink:arcrole   CDATA           #IMPLIED
    xlink:title     CDATA           #IMPLIED
    xlink:show      (new
        |replace
        |embed
        |other
        |none)          #IMPLIED
    xlink:actuate   (onLoad
        |onRequest
        |other
        |none)          #IMPLIED
    xlink:from      NMTOKEN         #IMPLIED
    xlink:to        NMTOKEN         #IMPLIED>