AmosFiveSix.com

Experience, Knowledge, Creativity

  • Increase font size
  • Default font size
  • Decrease font size
Home QueryTree for VB.Net QueryTree.xsd

QueryTree.xsd

E-mail Print PDF

See my portfolio for information on the Document Builder project that used the Query Tree component.

This schema defines how the query tree XML files should look. It can also be used in Visual Studio or other XML editors to provide IntelliSense when creating the XML file.


<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="NACS.Data.QueryTree" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:nacs="http://schemas.nacs.org/data/querytree" targetNamespace="http://schemas.nacs.org/data/querytree" elementFormDefault="qualified">
    <xs:annotation>
        <xs:documentation xml:lang="en">
            NACS.Data.QueryTree Schema v1.0
        </xs:documentation>
    </xs:annotation>
    <xs:complexType name="Root">
        <xs:all>
            <xs:element name="Node" type="nacs:Node" />
        </xs:all>
        <xs:attribute name="Assembly" type="xs:string"/>
        <xs:attribute name="Namespace" type="xs:string"/>
        <xs:attribute name="Culture" type="xs:string" />
    </xs:complexType>
    <xs:complexType name="Node">
        <xs:sequence>
            <xs:element name="Nodes" type="nacs:Nodes" minOccurs="0" />
        </xs:sequence>
        <xs:attribute name="Name" type="xs:string" use="required" />
        <xs:attribute name="KeyName" type="xs:string" use="required" />
        <xs:attribute name="QueryFile" type="xs:string" use="required" />
    </xs:complexType>
    <xs:complexType name="Nodes">
        <xs:sequence>
            <xs:element name="Node" type="nacs:Node" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
    </xs:complexType>
    <xs:element name="Root" type="nacs:Root" />
</xs:schema>