This XML schema document defines the structure for a coffee price list with multiple coffee entries. It specifies a root <priceList> element of type "coffeetype", which allows for one or more <coffee> elements. Each <coffee> element contains a required <name> and <price> element defining the name and price of an individual coffee item.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online from Scribd
This XML schema document defines the structure for a coffee price list with multiple coffee entries. It specifies a root <priceList> element of type "coffeetype", which allows for one or more <coffee> elements. Each <coffee> element contains a required <name> and <price> element defining the name and price of an individual coffee item.
This XML schema document defines the structure for a coffee price list with multiple coffee entries. It specifies a root <priceList> element of type "coffeetype", which allows for one or more <coffee> elements. Each <coffee> element contains a required <name> and <price> element defining the name and price of an individual coffee item.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online from Scribd
This XML schema document defines the structure for a coffee price list with multiple coffee entries. It specifies a root <priceList> element of type "coffeetype", which allows for one or more <coffee> elements. Each <coffee> element contains a required <name> and <price> element defining the name and price of an individual coffee item.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online from Scribd
Download as ppt, pdf, or txt
You are on page 1of 1
XML schema for the coffee example
<?xml version="1.0" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="priceList" type="coffeetype"/> <xsd:complexType name="coffeetype"> <xsd:sequence> <xsd:element name = "coffee" minOccurs="1" maxOccurs="unbound"> <xsd:complexType> <xsd:sequence> <xsd:element name = "name"/> <xsd:element name = "price"/> </xsd:sequence>