Project

Profile

Help

How to connect?
Download (5.42 KB) Statistics
| Branch: | Tag: | Revision:

he / latest9.9 / samples / config / saxon-attributes.xsd @ dd751c72

1
<?xml version="1.0" encoding="UTF-8"?>
2
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
3
    elementFormDefault="qualified" 
4
    targetNamespace="http://saxon.sf.net/" 
5
    xmlns:saxon="http://saxon.sf.net/"
6
    xmlns:c="http://saxon.sf.net/ns/configuration">
7
    
8
  <xs:annotation>
9
    <xs:documentation>
10
        This schema document defines serialization parameters in the Saxon namespace,
11
        that can appear in the serialization element of the configuration file.
12
    </xs:documentation>
13
  </xs:annotation>
14

    
15
  <xs:import namespace="http://saxon.sf.net/ns/configuration" schemaLocation="config.xsd"/>
16
  
17
  <xs:attribute name="attribute-order" type="c:listOfQNameOrStarType">
18
    <xs:annotation>
19
      <xs:documentation>
20
        Controls the order in which attributes appear within an element start tag
21
      </xs:documentation>
22
    </xs:annotation>
23
  </xs:attribute>
24
  
25
  <xs:attribute name="canonical" type="c:yesOrNoType">
26
    <xs:annotation>
27
      <xs:documentation>
28
        If true, the serialization follows (as far as possible) the rules of Canonical XML
29
      </xs:documentation>
30
    </xs:annotation>
31
  </xs:attribute>
32
  
33
  <xs:attribute name="character-representation" type="xs:string">
34
    <xs:annotation>
35
      <xs:documentation>
36
        <p>For XML output, "hex" or "decimal" indicate whether numeric character
37
          references should be in hexadecimal or decimal.</p> 
38
        <p>For HTML output, two strings separated by a semicolon.  The first string 
39
          defines how non-ASCII characters within the character encoding will be represented, 
40
          the values being "native", "entity", "decimal", or "hex". 
41
          The second string defines how characters outside the encoding will be 
42
          represented, the values being "entity", "decimal", or "hex". </p>
43
      </xs:documentation>
44
    </xs:annotation>
45
  </xs:attribute>
46
  
47
  <xs:attribute name="double-space" type="c:listOfQNameType">
48
    <xs:annotation>
49
      <xs:documentation>
50
        A list of element names that are to be preceded by a blank line in indented output
51
      </xs:documentation>
52
    </xs:annotation>
53
  </xs:attribute>
54
  
55
  <xs:attribute name="indent-spaces" type="xs:integer">
56
    <xs:annotation>
57
      <xs:documentation>
58
        The number of spaces to be used for each level of indentation when indenting output
59
      </xs:documentation>
60
    </xs:annotation>
61
  </xs:attribute>
62
  
63
  <xs:attribute name="line-length" type="xs:integer">
64
    <xs:annotation>
65
      <xs:documentation>
66
        Limits the line length, outputting attributes on a new line if they would otherwise 
67
        extend beyond this column position (with XML, HTML, or XHTML output methods), and 
68
        splitting text lines when possible (with HTML output method).
69
      </xs:documentation>
70
    </xs:annotation>
71
  </xs:attribute>
72
  
73
  <xs:attribute name="newline" type="xs:string">
74
    <xs:annotation>
75
      <xs:documentation>
76
        Defines the string that is used by the text output method to represent a newline. Default
77
        value x10.
78
      </xs:documentation>
79
    </xs:annotation>   
80
  </xs:attribute>
81
  
82
  <xs:attribute name="next-in-chain" type="xs:anyURI">
83
    <xs:annotation>
84
      <xs:documentation>
85
        The URI of a stylesheet to be used for post-processing the output.
86
      </xs:documentation>
87
    </xs:annotation>
88
  </xs:attribute>
89
  
90
  <xs:attribute name="property-order" type="c:listOfPropertyNameType">
91
    <xs:annotation>
92
      <xs:documentation>
93
        The order in which properties of an object are to be serialized by the JSON output method.
94
        If the value is given as "a b c * x y z", then properties "a", "b", and "c" (if present) are serialized first,
95
        in that order, followed by any other properties in alphabetical order, followed by the properties
96
        "x", "y", and "z".
97
      </xs:documentation>
98
    </xs:annotation>
99
  </xs:attribute>
100
  
101
  <xs:attribute name="recognize-binary" type="c:yesOrNoType">
102
    <xs:annotation>
103
      <xs:documentation>
104
        For use with method="text", indicates that processing instructions
105
        may be used in the result tree to represent binary values to be inserted
106
        in the output.
107
      </xs:documentation>
108
    </xs:annotation>
109
  </xs:attribute>
110
  
111
  <xs:attribute name="require-well-formed" type="c:yesOrNoType">
112
    <xs:annotation>
113
      <xs:documentation>
114
        Indicates whether the output should be checked to ensure it represents
115
        a well-formed document (one top-level element node)
116
      </xs:documentation>
117
    </xs:annotation>
118
  </xs:attribute>
119
  
120
  <xs:attribute name="single-quotes" type="c:yesOrNoType">
121
    <xs:annotation>
122
      <xs:documentation>
123
        If true, requests that attributes should be delimited by apostrophes rather than
124
        quotation marks
125
      </xs:documentation>
126
    </xs:annotation>
127
  </xs:attribute>
128
  
129
  <xs:attribute name="supply-source-locator" type="c:yesOrNoType">
130
    <xs:annotation>
131
      <xs:documentation>
132
        For use when output is sent to a SAX ContentHandler, requests that
133
        information be passed to the ContentHandler about the input nodes that were
134
        being processed when each node in the output is generated.
135
      </xs:documentation>
136
    </xs:annotation>
137
  </xs:attribute>
138
  
139
  <xs:attribute name="suppress-indentation" type="c:listOfQNameType">
140
    <xs:annotation>
141
      <xs:documentation> Defines a list of element names whose content should not be indented
142
        even when indent='yes' is specified. 
143
      </xs:documentation>
144
    </xs:annotation>
145
  </xs:attribute>
146

    
147
</xs:schema>
(5-5/5)