<?xml version="1.0" encoding="ISO-8859-1"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://xml.fiforms.org/FiReports/" xmlns:fiforms="http://xml.fiforms.org/FiForms/" targetNamespace="http://xml.fiforms.org/FiReports/" version="1.1" xml:lang="en">
<xs:annotation>
<xs:documentation source="http://xml.fiforms.org/FiForms/">
This is the XML Schema for FiReport XML Datasets. 
</xs:documentation>
</xs:annotation>
<xs:annotation>
<xs:documentation>
This Schema is distributed with FiForms, a collection of PHP 
classes designed to facilitate rapid development of 
web-database software
</xs:documentation>
<xs:documentation>
Copyright (C) 2003-2007 Daniel McFeeters
</xs:documentation>
<xs:documentation>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
</xs:documentation>
<xs:documentation>
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
</xs:documentation>
<xs:documentation source="http://www.gnu.org/copyleft/lesser.html">
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</xs:documentation>
<xs:documentation>
The original author of this library can be contacted at the following 
address:
</xs:documentation>
<xs:documentation>
Daniel McFeeters
</xs:documentation>
<xs:documentation>
182 Baker Rd.
</xs:documentation>
<xs:documentation>
Faubush, KY 42544-6526
</xs:documentation>
<xs:documentation>
email:databases at alltel dot net
</xs:documentation>
</xs:annotation>
<xs:annotation>
<xs:documentation source="http://www.fiforms.org">
You can find out more about FiForms Solutions and download the 
open-source (LGPL) 	collection of FiForms PHP Classes from 
www.fiforms.org
</xs:documentation>
</xs:annotation>

<xs:import namespace="http://xml.fiforms.org/FiForms/" schemaLocation="http://xml.fiforms.org/schema/11/FiForm.xsd"/>

<xs:element name="report">
<xs:annotation>
<xs:documentation>
This is the root element of a FiForm Report result.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="fiforms:reportdef">
</xs:element>
<xs:element minOccurs="0" ref="parameters">
</xs:element>
<xs:element maxOccurs="unlimited" minOccurs="0" ref="dataset">
</xs:element>
<xs:element ref="messages">
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>

<xs:element maxOccurs="unlimited" minOccurs="0" name="dataset">
<xs:annotation>
<xs:documentation>
Each result set coming from an sql query is contained in a dataset
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unlimited" minOccurs="0" ref="f"/>
<xs:element maxOccurs="unlimited" minOccurs="0" ref="row"/>
<xs:element maxOccurs="unlimited" minOccurs="0" ref="dataset"/>

</xs:sequence>
<xs:attribute name="name">
</xs:attribute>
</xs:complexType>
</xs:element>

<xs:element minOccurs="0" name="messages">
<xs:annotation>
<xs:documentation>

</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="message">
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>

<xs:element name="row">
<xs:annotation>
<xs:documentation>

</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="field">
</xs:element>
</xs:sequence>
<xs:attribute name="id" use="required">

</xs:attribute>
</xs:complexType>
</xs:element>

<xs:element name="field">
<xs:annotation>
<xs:documentation>
A single field in a row
</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="name">
<xs:annotation>
<xs:documentation>
Field Name
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="t">
<xs:annotation>
<xs:documentation>
Field Type
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>

<xs:element name="f">
<xs:annotation>
<xs:documentation>
Field returned from query. This is copied from the &lt;f&gt; elements from the definition, as a suggestion to stylesheets for further formatting.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup>
<xs:attribute name="a">
<xs:annotation>
<xs:documentation>
Alias or caption for field
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="summary">
<xs:annotation>
<xs:documentation>
summation at end of dataset
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="format">
<xs:annotation>
<xs:documentation>
Format of field
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="formatopts">
<xs:annotation>
<xs:documentation>
xslt options passed to format function
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
</xs:complexType>
</xs:element>

<xs:element name="param">
<xs:annotation>
<xs:documentation>
A GET varaible passed to report generation script.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="name" use="required">

</xs:attribute>
<xs:attribute name="value" use="required">

</xs:attribute>
</xs:complexType>
</xs:element>

</xs:schema>