summaryrefslogtreecommitdiffstats
path: root/schemas/nagiosgen.xsd
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-12-10 17:19:54 -0600
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-12-10 17:22:38 -0600
commit9d6e6241954d001a5b49e4ea9a48c10e2a792958 (patch)
tree270309c0e04eacf2ce1e0d6cc6d61f1485899c0a /schemas/nagiosgen.xsd
parent7dcb468f09781bacf79823748ef12bfbd1faeb21 (diff)
downloadbcfg2-9d6e6241954d001a5b49e4ea9a48c10e2a792958.tar.gz
bcfg2-9d6e6241954d001a5b49e4ea9a48c10e2a792958.tar.bz2
bcfg2-9d6e6241954d001a5b49e4ea9a48c10e2a792958.zip
generate XML schema docs from XML schemas themselves
Diffstat (limited to 'schemas/nagiosgen.xsd')
-rw-r--r--schemas/nagiosgen.xsd12
1 files changed, 6 insertions, 6 deletions
diff --git a/schemas/nagiosgen.xsd b/schemas/nagiosgen.xsd
index 080994cd1..99d6b91c6 100644
--- a/schemas/nagiosgen.xsd
+++ b/schemas/nagiosgen.xsd
@@ -1,4 +1,4 @@
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en">
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en">
<xsd:annotation>
<xsd:documentation>
NagiosGen config schema for bcfg2
@@ -6,11 +6,11 @@
</xsd:documentation>
</xsd:annotation>
- <xsd:complexType name="GroupType">
+ <xsd:complexType name="NagiosGenGroupType">
<xsd:choice minOccurs="1" maxOccurs="unbounded">
<xsd:element name="Option" type="OptionType"/>
- <xsd:element name="Group" type="GroupType"/>
- <xsd:element name="Client" type="GroupType"/>
+ <xsd:element name="Group" type="NagiosGenGroupType"/>
+ <xsd:element name="Client" type="NagiosGenGroupType"/>
</xsd:choice>
<xsd:attribute type="xsd:string" name="name" use="required"/>
<xsd:attribute type="xsd:string" name="negate"/>
@@ -23,8 +23,8 @@
<xsd:element name="NagiosGen">
<xsd:complexType>
<xsd:choice minOccurs="1" maxOccurs="unbounded">
- <xsd:element name="Group" type="GroupType"/>
- <xsd:element name="Client" type="GroupType"/>
+ <xsd:element name="Group" type="NagiosGenGroupType"/>
+ <xsd:element name="Client" type="NagiosGenGroupType"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>