configurationengine/source/plugins/common/ConeTemplatePlugin/templatemlplugin/xsd/templateml.xsd
equal
deleted
inserted
replaced
57 in a file specified by the 'file' attribute. |
57 in a file specified by the 'file' attribute. |
58 ]]> |
58 ]]> |
59 </xs:documentation> |
59 </xs:documentation> |
60 </xs:annotation> |
60 </xs:annotation> |
61 </xs:element> |
61 </xs:element> |
|
62 <xs:element name="filters" type="templ:filtersType"> |
|
63 <xs:annotation> |
|
64 <xs:documentation><![CDATA[ |
|
65 Defines a filter usable in the Jinja template of the current output file.<br/> |
|
66 <br/> |
|
67 The filter is defined as a Python function either directly in the element, or |
|
68 in a file specified by the 'file' attribute. The filter is referenced with the |
|
69 function name from the Jinja template. |
|
70 ]]> |
|
71 </xs:documentation> |
|
72 </xs:annotation> |
|
73 </xs:element> |
62 </xs:choice> |
74 </xs:choice> |
63 <xs:attribute name="file" type="xs:string"> |
75 <xs:attribute name="file" type="xs:string"> |
64 <xs:annotation> |
76 <xs:annotation> |
65 <xs:documentation> |
77 <xs:documentation> |
66 The name of the output file. |
78 The name of the output file. |
85 <xs:attribute name="encoding" type="xs:string"> |
97 <xs:attribute name="encoding" type="xs:string"> |
86 <xs:annotation> |
98 <xs:annotation> |
87 <xs:documentation> |
99 <xs:documentation> |
88 Defines the encoding of the output file. Can be any of the encodings supported |
100 Defines the encoding of the output file. Can be any of the encodings supported |
89 by the Python codecs module (see http://docs.python.org/library/codecs.html#standard-encodings). |
101 by the Python codecs module (see http://docs.python.org/library/codecs.html#standard-encodings). |
|
102 </xs:documentation> |
|
103 </xs:annotation> |
|
104 </xs:attribute> |
|
105 <xs:attribute name="newline" type="xs:string"> |
|
106 <xs:annotation> |
|
107 <xs:documentation> |
|
108 Defines the newline of the output file. |
90 </xs:documentation> |
109 </xs:documentation> |
91 </xs:annotation> |
110 </xs:annotation> |
92 </xs:attribute> |
111 </xs:attribute> |
93 <xs:attribute name="bom" type="templ:boolType" use="optional"> |
112 <xs:attribute name="bom" type="templ:boolType" use="optional"> |
94 <xs:annotation> |
113 <xs:annotation> |
117 <xs:documentation> |
136 <xs:documentation> |
118 The name of the filter, used to reference it from the Jinja template. |
137 The name of the filter, used to reference it from the Jinja template. |
119 </xs:documentation> |
138 </xs:documentation> |
120 </xs:annotation> |
139 </xs:annotation> |
121 </xs:attribute> |
140 </xs:attribute> |
|
141 <xs:attribute name="file" type="xs:string"> |
|
142 <xs:annotation> |
|
143 <xs:documentation> |
|
144 Path to the file where the filter's Python code is defined. |
|
145 Should be relative to the current implementation file. |
|
146 </xs:documentation> |
|
147 </xs:annotation> |
|
148 </xs:attribute> |
|
149 </xs:complexType> |
|
150 |
|
151 <xs:complexType name="filtersType" mixed="true"> |
|
152 <xs:sequence> |
|
153 <xs:element ref="xi:include" minOccurs="0" maxOccurs="unbounded"/> |
|
154 </xs:sequence> |
122 <xs:attribute name="file" type="xs:string"> |
155 <xs:attribute name="file" type="xs:string"> |
123 <xs:annotation> |
156 <xs:annotation> |
124 <xs:documentation> |
157 <xs:documentation> |
125 Path to the file where the filter's Python code is defined. |
158 Path to the file where the filter's Python code is defined. |
126 Should be relative to the current implementation file. |
159 Should be relative to the current implementation file. |
150 in a file referenced by the 'file' attribute. |
183 in a file referenced by the 'file' attribute. |
151 ]]> |
184 ]]> |
152 </xs:documentation> |
185 </xs:documentation> |
153 </xs:annotation> |
186 </xs:annotation> |
154 </xs:element> |
187 </xs:element> |
|
188 <xs:element name="filters" type="templ:filtersType"> |
|
189 <xs:annotation> |
|
190 <xs:documentation><![CDATA[ |
|
191 Defines a filter usable in any template in the current TemplateML implementation.<br/> |
|
192 <br/> |
|
193 The filter is defined as a Python function either directly in the element, or |
|
194 in a file referenced by the 'file' attribute. The filter is referenced with the |
|
195 function name from the Jinja template. |
|
196 ]]> |
|
197 </xs:documentation> |
|
198 </xs:annotation> |
|
199 </xs:element> |
155 </xs:choice> |
200 </xs:choice> |
156 </xs:complexType> |
201 </xs:complexType> |
157 </xs:element> |
202 </xs:element> |
158 </xs:schema> |
203 </xs:schema> |