<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Peter (private) -->
<!-- Webcockpit version 1.1.0 -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="webcockpit">
		<xs:annotation>
			<xs:documentation>A Webcockpit configuration.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="context">
					<xs:annotation>
						<xs:documentation>The web application context data. Output to META-INF/context.xml for Tomcat.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="datasource" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>A JNDI datasource specification.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="parameter" maxOccurs="unbounded">
											<xs:annotation>
												<xs:documentation>Individual name, value parameters.</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:attribute name="name" type="xs:string" use="required">
													<xs:annotation>
														<xs:documentation>Typical parameter names for JDBC datasources include:
url
username
password
driverClassName
maxIdle
maxActive
maxWait</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="value" type="xs:string" use="required">
													<xs:annotation>
														<xs:documentation>Value corresponding to the parameter name.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="id" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>The name under which the datasource is found in JNDI.</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="description" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>Descriptive text relating to the JNDI datasource.</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="web-inf-addon" type="xs:string" minOccurs="0">
								<xs:annotation>
									<xs:documentation>use CDATA to add content to the web.xml, i.e. security context setting.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="context-addon" type="xs:string" minOccurs="0">
								<xs:annotation>
									<xs:documentation>use CDATA to add content to the context.xml, i.e. reource links and realms</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="displayname" type="xs:string" use="required">
							<xs:annotation>
								<xs:documentation>Descriptive text naming the Web Application.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="path" type="xs:string" use="required">
							<xs:annotation>
								<xs:documentation>Root of the Web Application is found at http://$host:$port/$path.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="version" type="xs:string" use="optional" default="5.5.X"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="query" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Sql queries are globally known in webcockpit and used by page items.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="sql" type="xs:string">
								<xs:annotation>
									<xs:documentation>Sql containing '?' as a placeholder for bind variables.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="bindvar" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Bind variable values are determined by item links, and are bound into the sql at execution time.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:attribute name="id" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>The unique name of the bind variable.</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="default" type="xs:string" use="optional">
										<xs:annotation>
											<xs:documentation>The default value of a bind variable, if none is provided at runtime via page request parameters.</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="id" type="xs:string" use="required">
							<xs:annotation>
								<xs:documentation>Unique name of the query. Referenced as a data producer by charts and tables.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="datasourceid" type="xs:string" use="optional">
							<xs:annotation>
								<xs:documentation>Optional if there is only one datasource defined in the context.
Must correspond to a datasource id defined in the webcockpit context.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="type" type="queryTypeEnum" use="required">
							<xs:annotation>
								<xs:documentation>The query types 'category', 'pie', 'timeseries' and 'xy' can be used by charts and tables.
Check the chart type to determine which query type is required.
The 'table' query type is only used by tables.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element name="chartlookandfeel" minOccurs="0" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>A named chart coloring scheme which can be referenced by charts to determine the colors and fonts of chart properties.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="color" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>The color for the series number, i.e. #000000 for black, #FFFFFF for white</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:simpleContent>
										<xs:extension base="xs:string">
											<xs:attribute name="usage" use="required">
												<xs:annotation>
													<xs:documentation>The chart property to which the color applies.</xs:documentation>
												</xs:annotation>
												<xs:simpleType>
													<xs:restriction base="xs:string">
														<xs:enumeration value="series"/>
														<xs:enumeration value="seriesoutline"/>
														<xs:enumeration value="serieslabel"/>
														<xs:enumeration value="sectionlabel"/>
														<xs:enumeration value="chartoutline"/>
														<xs:enumeration value="xaxisgridline"/>
														<xs:enumeration value="yaxisgridline"/>
														<xs:enumeration value="background"/>
														<xs:enumeration value="yaxiscrosshair"/>
														<xs:enumeration value="xaxiscrosshair"/>
														<xs:enumeration value="title"/>
														<xs:enumeration value="xaxislabel"/>
														<xs:enumeration value="yaxislabel"/>
														<xs:enumeration value="xaxisticklabel"/>
														<xs:enumeration value="yaxisticklabel"/>
														<xs:enumeration value="xaxistickmark"/>
														<xs:enumeration value="yaxistickmark"/>
														<xs:enumeration value="legendbackground"/>
														<xs:enumeration value="legendoutline"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:attribute>
											<xs:attribute name="series" type="xs:nonNegativeInteger" use="optional">
												<xs:annotation>
													<xs:documentation>For usage = series, the series specifies the number of the series ( 0 .. max )</xs:documentation>
												</xs:annotation>
											</xs:attribute>
											<xs:attribute name="linestyle" use="optional">
												<xs:annotation>
													<xs:documentation>For chart properties which refer to lines, this defines the line style. Default for axiscrosshair and gridline is dotted. Default for all other usages is plain.</xs:documentation>
												</xs:annotation>
												<xs:simpleType>
													<xs:restriction base="xs:string">
														<xs:enumeration value="plain"/>
														<xs:enumeration value="dotted"/>
														<xs:enumeration value="striped"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:attribute>
											<xs:attribute name="linewidth" type="xs:float" use="optional" default="1.0">
												<xs:annotation>
													<xs:documentation>For chart properties relating to lines, this specifies the line width. Default 1.0.</xs:documentation>
												</xs:annotation>
											</xs:attribute>
										</xs:extension>
									</xs:simpleContent>
								</xs:complexType>
							</xs:element>
							<xs:element name="font" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Font description for chart text. The font name is the element text, i.e. Arial, Verdana, Courier New etc.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:simpleContent>
										<xs:extension base="xs:string">
											<xs:attribute name="usage" use="required">
												<xs:annotation>
													<xs:documentation>The chart property to which the font setting applies.</xs:documentation>
												</xs:annotation>
												<xs:simpleType>
													<xs:restriction base="xs:string">
														<xs:enumeration value="title"/>
														<xs:enumeration value="legendtitle"/>
														<xs:enumeration value="serieslabel"/>
														<xs:enumeration value="sectionlabel"/>
														<xs:enumeration value="xaxislabel"/>
														<xs:enumeration value="yaxislabel"/>
														<xs:enumeration value="xaxisticklabel"/>
														<xs:enumeration value="yaxisticklabel"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:attribute>
											<xs:attribute name="bold" type="xs:boolean" use="optional" default="false">
												<xs:annotation>
													<xs:documentation>Whether the font is bold or not.</xs:documentation>
												</xs:annotation>
											</xs:attribute>
											<xs:attribute name="italic" type="xs:boolean" use="optional" default="false">
												<xs:annotation>
													<xs:documentation>Whether the font is italic or not.</xs:documentation>
												</xs:annotation>
											</xs:attribute>
											<xs:attribute name="size" type="xs:positiveInteger" use="optional" default="10">
												<xs:annotation>
													<xs:documentation>Font size in points.</xs:documentation>
												</xs:annotation>
											</xs:attribute>
										</xs:extension>
									</xs:simpleContent>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="id" type="xs:string" use="required">
							<xs:annotation>
								<xs:documentation>The name of the look and feel referenced by charts</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element name="page" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>A webcockpit page contains any number of items and is linked to a HTML template</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="item" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>An item is a chart and/or a table which itself can link to other pages.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="chart" minOccurs="0">
											<xs:annotation>
												<xs:documentation>A Cewolf specification of a JFreeChart extended with item linking.
Descriptions copied from http://cewolf.sourceforge.net/</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:choice minOccurs="0">
														<xs:annotation>
															<xs:documentation>Background color possibilities.</xs:documentation>
														</xs:annotation>
														<xs:element name="colorpaint" minOccurs="0">
															<xs:annotation>
																<xs:documentation>Fills the chart area with a fixed color.</xs:documentation>
															</xs:annotation>
															<xs:complexType>
																<xs:attribute name="color" type="xs:string" use="optional" default="#000000">
																	<xs:annotation>
																		<xs:documentation>The color to be used to fill the parent tag's area. 
The color definition is compatible with the HTML one. E.g. black is '#000000' and red is '#FF0000'. 
However it is possible to append two hex numbers for the alpha channel. 
Thus '#FF000080' is red with alpha blending of 50%.</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
															</xs:complexType>
														</xs:element>
														<xs:element name="texturepaint" minOccurs="0">
															<xs:annotation>
																<xs:documentation>The texturepaint tag provides a way to fill the chart with a texture that is specified as an image.
The texture is anchored to the upper left corner of the chart.</xs:documentation>
															</xs:annotation>
															<xs:complexType>
																<xs:attribute name="image" type="xs:string" use="required">
																	<xs:annotation>
																		<xs:documentation>Image fo the texture. 
The value of this attribute is the filename of a graphics file relative to the web application's root directory (e.g. /WEB-INF/img/bg.jpg). 
The image must be loadable by the default java.awt.Toolkit of the servlet container's JVM.</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="width" type="xs:integer" use="optional" default="100">
																	<xs:annotation>
																		<xs:documentation>The width of the texture.</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="height" type="xs:integer" use="optional" default="100">
																	<xs:annotation>
																		<xs:documentation>The height of the texture.</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
															</xs:complexType>
														</xs:element>
														<xs:element name="gradientpaint" minOccurs="0">
															<xs:annotation>
																<xs:documentation>The gradientpaint tag provides a way to fill a shape with a linear color gradient pattern.
If Point P1 with Color C1 and Point P2 with Color C2 are specified in user space, the Color on the P1, P2 connecting line is proportionally changed from C1 to C2. 
Any point P not on the extended P1, P2 connecting line has the color of the point P' that is the perpendicular projection of P on the extended P1, P2 connecting line. 
Points on the extended line outside of the P1, P2 segment can be colored in one of two ways.
If the gradient is acyclic then points on the P1 side of the segment have the constant Color C1 while points on the P2 side have the constant Color C2.</xs:documentation>
															</xs:annotation>
															<xs:complexType>
																<xs:attribute name="cyclic" type="xs:boolean" use="optional" default="false">
																	<xs:annotation>
																		<xs:documentation>Does the gradient cycle repeatedly between the two colors C1 and C2?</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="x1" type="xs:integer" use="optional" default="0">
																	<xs:annotation>
																		<xs:documentation>The x coordinate of the point P1</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="y1" type="xs:integer" use="optional" default="0">
																	<xs:annotation>
																		<xs:documentation>The y coordinate of the point P1</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="color1" type="xs:string" use="optional" default="#000000">
																	<xs:annotation>
																		<xs:documentation>Color C1</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="x2" type="xs:integer" use="optional" default="100">
																	<xs:annotation>
																		<xs:documentation>The x coordinate of the point P2</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="y2" type="xs:integer" use="optional" default="100">
																	<xs:annotation>
																		<xs:documentation>The y coordinate of the point P2</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="color2" type="xs:string" use="optional" default="#FFFFFF">
																	<xs:annotation>
																		<xs:documentation>Color C2</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
															</xs:complexType>
														</xs:element>
													</xs:choice>
													<xs:element name="img">
														<xs:annotation>
															<xs:documentation>HTML img attributes.</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:attribute name="width" type="xs:integer" use="required">
																<xs:annotation>
																	<xs:documentation>Width of the rendered chart image in pixel.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="height" type="xs:integer" use="required">
																<xs:annotation>
																	<xs:documentation>Height of the rendered chart image in pixel.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="mime" type="xs:string" use="optional" default="image/png">
																<xs:annotation>
																	<xs:documentation>The MIME type of the image. Currently image/png (default) and image/svg are supported. image/png.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="alt" type="xs:string" use="optional">
																<xs:annotation>
																	<xs:documentation>Alternative text for browsers  which have images disabled.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="hspace" type="xs:string" use="optional"/>
															<xs:attribute name="vspace" type="xs:string" use="optional"/>
															<xs:attribute name="align" type="xs:string" use="optional"/>
															<xs:attribute name="border" type="xs:string" use="optional"/>
															<xs:attribute name="ismap" type="xs:string" use="optional"/>
															<xs:attribute name="longdesc" type="xs:string" use="optional"/>
															<xs:attribute name="usemap" type="xs:string" use="optional">
																<xs:annotation>
																	<xs:documentation>Setting usemap explicitly will override the webcockpit default linking.
Can use a non existent map name, i.e. '#none' to disable default linking.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="dir" type="xs:string" use="optional"/>
															<xs:attribute name="lang" type="xs:string" use="optional"/>
															<xs:attribute name="onclick" type="xs:string" use="optional"/>
															<xs:attribute name="ondbclick" type="xs:string" use="optional"/>
															<xs:attribute name="onkeydown" type="xs:string" use="optional"/>
															<xs:attribute name="onkeypress" type="xs:string" use="optional"/>
															<xs:attribute name="onkeyup" type="xs:string" use="optional"/>
															<xs:attribute name="onmouseover" type="xs:string" use="optional"/>
															<xs:attribute name="onmousedown" type="xs:string" use="optional"/>
															<xs:attribute name="onmouseout" type="xs:string" use="optional"/>
															<xs:attribute name="onmousemove" type="xs:string" use="optional"/>
															<xs:attribute name="onmouseup" type="xs:string" use="optional"/>
															<xs:attribute name="style" type="xs:string" use="optional"/>
															<xs:attribute name="htmltitle" type="xs:string" use="optional">
																<xs:annotation>
																	<xs:documentation>Tooltip text which pops up when mouse hovers over parts of image which are not graph bars or points which have their own tooltips.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
													<xs:element name="link" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Links the chart's category, series and values to the page specified here. </xs:documentation>
															<xs:documentation>The category, series and values can be individually bound with the nested bind elements.</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="bind" minOccurs="0" maxOccurs="unbounded">
																	<xs:annotation>
																		<xs:documentation>Determines the name of the sql bindvar to use for passing chart data in the link.</xs:documentation>
																	</xs:annotation>
																	<xs:complexType>
																		<xs:simpleContent>
																			<xs:extension base="xs:string">
																				<xs:attribute name="type" type="chartBindTypeEnum" use="required"/>
																				<xs:attribute name="bindvar" type="xs:string" use="required">
																					<xs:annotation>
																						<xs:documentation>Name of a Sql queries bindvar in the page being linked to.</xs:documentation>
																					</xs:annotation>
																				</xs:attribute>
																			</xs:extension>
																		</xs:simpleContent>
																	</xs:complexType>
																</xs:element>
															</xs:sequence>
															<xs:attribute name="refpageid" type="xs:string" use="optional">
																<xs:annotation>
																	<xs:documentation>The id of another Webcockpit page in this configuration file.
If set, refpage is ignored.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="refpage" type="xs:string" use="optional">
																<xs:annotation>
																	<xs:documentation>URI of a page not defined in this configuration.
Absolute or relative to the Web Application's path.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
												<xs:attribute name="type" type="chartTypeEnum" use="required">
													<xs:annotation>
														<xs:documentation>The type of chart. The type must correspond to its Sql query type.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="title" type="xs:string" use="optional">
													<xs:annotation>
														<xs:documentation>Title of the chart which is displayed on the chart panel above the plot pane. </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="xaxislabel" type="xs:string" use="optional">
													<xs:annotation>
														<xs:documentation>Title of the chart's x-axis. This attributes is ignored if the type attribute of the parent chart tag is one of pie3d or pie.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="yaxislabel" type="xs:string" use="optional">
													<xs:annotation>
														<xs:documentation>Title of the chart's y-axis. This attributes is ignored if the type attribute of the parent chart tag is one of pie3d or pie.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="background" type="xs:string" use="optional">
													<xs:annotation>
														<xs:documentation>Background image of the chart panel. 
The value of this attribute is the filename of a graphics file relative to the web application's root directory (e.g. /WEB-INF/img/bg.jpg). 
The image must be loadable by the default java.awt.Toolkit of the servlet container's JVM. </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="backgroundimagealpha" type="xs:float" use="optional" default="1.0">
													<xs:annotation>
														<xs:documentation>Chart's backgound alpha blending value as a float. Value ranges from 0.0 to 1.0. 0.0 /chart[backgroundimagealpha] </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="antialias" type="xs:boolean" use="optional" default="true">
													<xs:annotation>
														<xs:documentation>Antialiased rendering of the chart.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="showxaxisgridlines" type="xs:boolean" use="optional" default="true">
													<xs:annotation>
														<xs:documentation>whether to show x axis gridlines</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="showyaxisgridlines" type="xs:boolean" use="optional" default="true">
													<xs:annotation>
														<xs:documentation>whether to show y axis gridlines</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="showxaxiscrosshair" type="xs:boolean" use="optional" default="true">
													<xs:annotation>
														<xs:documentation>whether to show the x axis's crosshair, for xy charts only</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="showyaxiscrosshair" type="xs:boolean" use="optional" default="true">
													<xs:annotation>
														<xs:documentation>whether to show the y axis's crosshair, for xy charts only</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="showlegend" type="xs:boolean" use="optional" default="true">
													<xs:annotation>
														<xs:documentation>Boolean value to switch on or off the legend display inside of this panel. </xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="legendanchor" type="compassDirectionsEnum" use="optional" default="south">
													<xs:annotation>
														<xs:documentation>Sets the anchor of the legend inside of the panel. 
Ignored if showlegned is 'false'.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="lookandfeelid" type="xs:string" use="optional">
													<xs:annotation>
														<xs:documentation>the id attribute value of a chartlookandfeel element in the webcockpit configuration. If there is only one chartlookandfeel defined, then this chartlookandfeels id is taken as default. This reduces the configuration for each chart in a configuration file, if there is a unique look and feel.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="postprocessorbeanid" type="xs:string" use="optional">
													<xs:annotation>
														<xs:documentation>The id of a JSP bean implementing the Cewolf ChartPostProcessor interface which is availible in the page context. This can be used to plug-in a customized chart postprocessor to modify the chart's properties.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="resultchangerclassname" type="xs:string" use="optional" default="org.webcockpit.beans.DefaultDatasetChanger">
													<xs:annotation>
														<xs:documentation>Classname of a JSP Bean which can modify the JSTL ResultSet for the chart. Can be used to parse XML data from CLOB fields or re-arrange columns etc.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="xaxislabelangle" use="optional">
													<xs:annotation>
														<xs:documentation>angle ( in terms of compas directions ) of the xaxis label. Angle 'S' or 'N' to get the labels vertical, angle 'E' to get the labels horizontal. 'E' is the default for horizontal charts, 'S' is the default for vertical charts.</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:enumeration value="N"/>
															<xs:enumeration value="NNE"/>
															<xs:enumeration value="NE"/>
															<xs:enumeration value="ENE"/>
															<xs:enumeration value="E"/>
															<xs:enumeration value="ESE"/>
															<xs:enumeration value="SE"/>
															<xs:enumeration value="SSE"/>
															<xs:enumeration value="S"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
										<xs:element name="table" minOccurs="0">
											<xs:annotation>
												<xs:documentation>A HTML table based on a sql queries result set. each column can have its own link specification.</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="column" maxOccurs="unbounded">
														<xs:annotation>
															<xs:documentation>Column instructions provide a means of modifying the table representation for any columns.</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="link" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>Links the chart's category, series and values to the page specified here. </xs:documentation>
																		<xs:documentation>The category, series and values can be individually bound with the nested bind elements.</xs:documentation>
																	</xs:annotation>
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="bind" minOccurs="0" maxOccurs="unbounded">
																				<xs:annotation>
																					<xs:documentation>For column type, the bind element's text defines the column name who's value is passed at runtime. 
For constant types, the bind element's value is passed directly to the link's target page. For bindvar type, the bind element's value is the name of a Sql bindvar used in this item's sql query.</xs:documentation>
																				</xs:annotation>
																				<xs:complexType>
																					<xs:simpleContent>
																						<xs:extension base="xs:string">
																							<xs:attribute name="type" type="tableBindTypeEnum" use="required"/>
																							<xs:attribute name="bindvar" type="xs:string" use="required">
																								<xs:annotation>
																									<xs:documentation>Name of a Sql queries bindvar in the page being linked to.</xs:documentation>
																								</xs:annotation>
																							</xs:attribute>
																						</xs:extension>
																					</xs:simpleContent>
																				</xs:complexType>
																			</xs:element>
																		</xs:sequence>
																		<xs:attribute name="refpageid" type="xs:string" use="optional">
																			<xs:annotation>
																				<xs:documentation>The id of another Webcockpit page in this configuration file.
If set, refpage is ignored.</xs:documentation>
																			</xs:annotation>
																		</xs:attribute>
																		<xs:attribute name="refpage" type="xs:string" use="optional">
																			<xs:annotation>
																				<xs:documentation>URI of a page not defined in this configuration.
Absolute or relative to the Web Application's path.</xs:documentation>
																			</xs:annotation>
																		</xs:attribute>
																	</xs:complexType>
																</xs:element>
															</xs:sequence>
															<xs:attribute name="alias" type="xs:string" use="optional">
																<xs:annotation>
																	<xs:documentation>Column name, as defined in the SQL query linked to the table, which will link according to the nested bind elements. Either alias or columnnum is required.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="columnnum" type="xs:integer" use="optional">
																<xs:annotation>
																	<xs:documentation>column number 1...N in the sql query defined for feeding the table. Either alias or columnnum is required.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="title" type="xs:string" use="optional">
																<xs:annotation>
																	<xs:documentation>displaytag column attribute title. Defaults to the alias if not provided.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="autolink" type="xs:boolean" use="optional" default="true">
																<xs:annotation>
																	<xs:documentation>displaytag column autolink attribute. Any url's or email addresses in the column text will be hyperlinked.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="cssclass" type="xs:string" use="optional">
																<xs:annotation>
																	<xs:documentation>displaytag column class attribute. HTML class associated with the column.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="headercssclass" type="xs:string" use="optional">
																<xs:annotation>
																	<xs:documentation>displaytag column attribute headerclass. Determines the css class of the column header.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="maxlength" type="xs:integer" use="optional" default="0">
																<xs:annotation>
																	<xs:documentation>displaytag column attribute maxlength. Determines the maximum number of characters in the column before truncation. 0 unlimited.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="maxwords" type="xs:integer" use="optional" default="0">
																<xs:annotation>
																	<xs:documentation>displaytag column attribute maxwords. Determines the maximum number of words in the column before truncation. 0 unlimited.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="media" use="optional" default="all">
																<xs:annotation>
																	<xs:documentation>displaytag column attribute media. Use this attribute to keep a column from being output during an export. The column will only render for the named media type(s) - it won't be added to the table if the current request media is not supported. Can be any space separated combination of 'html', 'csv', 'xml', 'all', or 'excel'. Defaults to 'all'.</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:enumeration value="html"/>
																		<xs:enumeration value="xml"/>
																		<xs:enumeration value="excel"/>
																		<xs:enumeration value="csv"/>
																		<xs:enumeration value="all"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="sortable" type="xs:boolean" use="optional" default="true">
																<xs:annotation>
																	<xs:documentation>displaytag column attribute sortable. Set to 'true' to make the column sortable.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="nulls" type="xs:boolean" use="optional" default="false">
																<xs:annotation>
																	<xs:documentation>displaytag column attribute nulls. By default, null values don't appear in the list. By setting 'nulls' to 'true', then null values will appear as "null" in the list (mostly useful for debugging). Defaults to 'false'.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="group" type="xs:integer" use="optional" default="-1">
																<xs:annotation>
																	<xs:documentation>displaytag column attribute group. The grouping level (starting at 1 and incrementing) of this column (indicates if successive contain the same values, then they should not be displayed). The level indicates that if a lower level no longer matches, then the matching for this higher level should start over as well. If this attribute is 0, then no grouping is performed.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="decorator" type="xs:string" use="optional">
																<xs:annotation>
																	<xs:documentation>displaytag column attribute decorator. The fully qualified class name of a class that should be used to "decorate" the underlying object being displayed. The class should implement org.displaytag.decorator.ColumnDecorator. If a decorator is specified for the entire table, then this decorator will decorate that decorator.</xs:documentation>
																</xs:annotation>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
												<xs:attribute name="maxrows" type="xs:integer" use="optional" default="1000">
													<xs:annotation>
														<xs:documentation>Up to maxrows rows will be displayed in the HTML table.
With vertical orientation, this implies 'columns'.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="showheadings" type="xs:boolean" use="optional" default="true"/>
												<xs:attribute name="cssclass" type="xs:string" use="optional" default="wcptable">
													<xs:annotation>
														<xs:documentation>if omittable is false, this becomes the HTML table's class</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="evenrowcssclass" type="xs:string" use="optional" default="wcpevenrow">
													<xs:annotation>
														<xs:documentation>the CSS class applied to each even row. Use to create alternating colored rows with the oddrowcssclass style and a CSS stylesheet.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="oddrowcssclass" type="xs:string" use="optional" default="wcpoddrow">
													<xs:annotation>
														<xs:documentation>the CSS class applied to each odd row. Use to create alternating colored rows with the evenrowcssclass style and a CSS stylesheet.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="resultchangerclassname" type="xs:string" use="optional" default="org.webcockpit.beans.DefaultDatasetChanger">
													<xs:annotation>
														<xs:documentation>Classname of a JSP Bean which can modify the JSTL ResultSet for the chart. Can be used to parse XML data from CLOB fields or re-arrange columns etc.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="decoratorclassname" type="xs:string" use="optional">
													<xs:annotation>
														<xs:documentation>displaytag table decorator attribute</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="export" type="xs:boolean" use="optional" default="true">
													<xs:annotation>
														<xs:documentation>displaytag table export attribute. Provide links to export CSV, XML and Excel format.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="pagesize" type="xs:integer" use="optional" default="0">
													<xs:annotation>
														<xs:documentation>displaytag table pagesize attribute. 0 means no paging.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="pagingfirstlast" type="xs:boolean" use="optional" default="true">
													<xs:annotation>
														<xs:documentation>displaytag table property paging.banner.include_first_last . Determines if the paging banner shows the first last page navigation.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
												<xs:attribute name="pagingplacement" use="optional" default="top">
													<xs:annotation>
														<xs:documentation>displaytag table property - paging.banner.placement. Determines if the paging banner is on top or on the bottom of the table.
</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:enumeration value="top"/>
															<xs:enumeration value="bottom"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="sortbehaviour" use="optional" default="list">
													<xs:annotation>
														<xs:documentation>displaytag table sort attribute. Determines whether to sort the entire list or just the page when sorting by column.</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:enumeration value="page"/>
															<xs:enumeration value="list"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="defaultorder" use="optional" default="ascending">
													<xs:annotation>
														<xs:documentation>displaytag table defaultorder attribute - whether to sort the default sort column ascending or descending.</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:enumeration value="ascending"/>
															<xs:enumeration value="descending"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="defaultsort" type="xs:integer" use="optional" default="1">
													<xs:annotation>
														<xs:documentation>displaytag table defaultsort attribute. determines which column to sort by as default.</xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="id" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>Name of the item within a page.</xs:documentation>
											<xs:documentation>Unique over the page, so generic templates can be used.</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="queryid" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>The id of the query which defines the Sql which is executed for this item.</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="id" type="xs:string" use="required">
							<xs:annotation>
								<xs:documentation>The unique name of the webcockpit page.
The id becomes the pagename id.jsp in the web application.
Referenced by links in other pages.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="template" type="xs:string" use="optional" default="default.html">
							<xs:annotation>
								<xs:documentation>The HTML template filename which is used to mix with generated JSP to become the web application JSP page.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:simpleType name="orientationEnum">
		<xs:annotation>
			<xs:documentation>Orientations</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="horizontal"/>
			<xs:enumeration value="vertical"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="compassDirectionsEnum">
		<xs:annotation>
			<xs:documentation>Compass Directions</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="south"/>
			<xs:enumeration value="north"/>
			<xs:enumeration value="east"/>
			<xs:enumeration value="west"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="chartTypeEnum">
		<xs:annotation>
			<xs:documentation>JFreeChart Chart Types</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="area"/>
			<xs:enumeration value="areaxy"/>
			<xs:enumeration value="horizontalBar"/>
			<xs:enumeration value="horizontalBar3D"/>
			<xs:enumeration value="line"/>
			<xs:enumeration value="pie"/>
			<xs:enumeration value="pie3d"/>
			<xs:enumeration value="scatter"/>
			<xs:enumeration value="stackedHorizontalBar"/>
			<xs:enumeration value="stackedVerticalBar"/>
			<xs:enumeration value="stackedVerticalBar3D"/>
			<xs:enumeration value="timeseries"/>
			<xs:enumeration value="verticalBar"/>
			<xs:enumeration value="verticalBar3D"/>
			<xs:enumeration value="xy"/>
			<xs:enumeration value="candlestick"/>
			<xs:enumeration value="highlow"/>
			<xs:enumeration value="gantt"/>
			<xs:enumeration value="wind"/>
			<xs:enumeration value="signal"/>
			<xs:enumeration value="verticalxybar"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="queryTypeEnum">
		<xs:annotation>
			<xs:documentation>Types of Query relating to Chart Types.RowFormats:
pie - category, value
category - series, category, value
timeseries - series, date-x, y
xy - series, x, y
highlow - series, date-x, low-value, high-value, open-value, close-value
signal - series, date-x, y, type ( 1 enter long, -1 enter short, 2 exit long , -2 exit short)
wind - series, date-x, direction (0..12), force (0..12)
bar - series, date-start-x, date-end-x, start-y, end-y
table - no specific row format.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="pie"/>
			<xs:enumeration value="category"/>
			<xs:enumeration value="xy"/>
			<xs:enumeration value="timeseries"/>
			<xs:enumeration value="table"/>
			<xs:enumeration value="highlow"/>
			<xs:enumeration value="signal"/>
			<xs:enumeration value="wind"/>
			<xs:enumeration value="verticalxybar"/>
			<xs:enumeration value="gantt"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="tableBindTypeEnum">
		<xs:annotation>
			<xs:documentation>Link bind types for tables.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="column"/>
			<xs:enumeration value="constant"/>
			<xs:enumeration value="bindvar"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="chartBindTypeEnum">
		<xs:annotation>
			<xs:documentation>Link bind types for charts.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="category"/>
			<xs:enumeration value="series"/>
			<xs:enumeration value="value"/>
			<xs:enumeration value="x"/>
			<xs:enumeration value="y"/>
			<xs:enumeration value="constant"/>
			<xs:enumeration value="bindvar"/>
			<xs:enumeration value="low"/>
			<xs:enumeration value="high"/>
			<xs:enumeration value="open"/>
			<xs:enumeration value="close"/>
			<xs:enumeration value="signaltype"/>
			<xs:enumeration value="windforce"/>
			<xs:enumeration value="winddirection"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>

