Project

Profile

Help

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

he / tags / 9.8.0.12 / samples / config / saxon-attributes.xsd @ c74fd4aa

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:listOfQNameType">
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
  <xs:attribute name="character-representation" type="xs:string">
25
    <xs:annotation>
26
      <xs:documentation>
27
        <p>For XML output, "hex" or "decimal" indicate whether numeric character
28
          references should be in hexadecimal or decimal.</p> 
29
        <p>For HTML output, two strings separated by a semicolon.  The first string 
30
          defines how non-ASCII characters within the character encoding will be represented, 
31
          the values being "native", "entity", "decimal", or "hex". 
32
          The second string defines how characters outside the encoding will be 
33
          represented, the values being "entity", "decimal", or "hex". </p>
34
      </xs:documentation>
35
    </xs:annotation>
36
  </xs:attribute>
37
  <xs:attribute name="double-space" type="c:listOfQNameType">
38
    <xs:annotation>
39
      <xs:documentation>
40
        A list of element names that are to be preceded by a blank line in indented output
41
      </xs:documentation>
42
    </xs:annotation>
43
  </xs:attribute>
44
  <xs:attribute name="indent-spaces" type="xs:integer">
45
    <xs:annotation>
46
      <xs:documentation>
47
        The number of spaces to be used for each level of indentation when indenting output
48
      </xs:documentation>
49
    </xs:annotation>
50
  </xs:attribute> 
51
  <xs:attribute name="line-length" type="xs:integer">
52
    <xs:annotation>
53
      <xs:documentation>
54
        Limits the line length, outputting attributes on a new line if they would otherwise 
55
        extend beyond this column position (with XML, HTML, or XHTML output methods), and 
56
        splitting text lines when possible (with HTML output method).
57
      </xs:documentation>
58
    </xs:annotation>
59
  </xs:attribute> 
60
  <xs:attribute name="newline" type="xs:string">
61
    <xs:annotation>
62
      <xs:documentation>
63
        Defines the string that is used by the text output method to represent a newline. Default
64
        value x10.
65
      </xs:documentation>
66
    </xs:annotation>
67
  </xs:attribute> 
68
  <xs:attribute name="next-in-chain" type="xs:anyURI">
69
    <xs:annotation>
70
      <xs:documentation>
71
        The URI of a stylesheet to be used for post-processing the output.
72
      </xs:documentation>
73
    </xs:annotation>
74
  </xs:attribute>
75
  <xs:attribute name="recognize-binary" type="c:yesOrNoType">
76
    <xs:annotation>
77
      <xs:documentation>
78
        For use with method="text", indicates that processing instructions
79
        may be used in the result tree to represent binary values to be inserted
80
        in the output.
81
      </xs:documentation>
82
    </xs:annotation>
83
  </xs:attribute>
84
  <xs:attribute name="require-well-formed" type="c:yesOrNoType">
85
    <xs:annotation>
86
      <xs:documentation>
87
        Indicates whether the output should be checked to ensure it represents
88
        a well-formed document (one top-level element node)
89
      </xs:documentation>
90
    </xs:annotation>
91
  </xs:attribute>
92
  <xs:attribute name="supply-source-locator" type="c:yesOrNoType">
93
    <xs:annotation>
94
      <xs:documentation>
95
        For use when output is sent to a SAX ContentHandler, requests that
96
        information be passed to the ContentHandler about the input nodes that were
97
        being processed when each node in the output is generated.
98
      </xs:documentation>
99
    </xs:annotation>
100
  </xs:attribute>
101
  <xs:attribute name="suppress-indentation" type="c:listOfQNameType">
102
    <xs:annotation>
103
      <xs:documentation> Defines a list of element names whose content should not be indented
104
        even when indent='yes' is specified. 
105
      </xs:documentation>
106
    </xs:annotation>
107
  </xs:attribute>
108

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