All pastes #51561 Raw Edit

Stuff

public text v1 · immutable
#51561 ·published 2006-04-26 17:37 UTC
rendered paste body
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="NewStyle.xsl"?>
<local-pubs 
xmlns:xsi="http://www.w3.org/2001/XML-Schema-instance"
xsi:schemalocation="Valid.xsd">
	<pub>
			<name>The Greyhound</name>
			<address>3 Made up Street</address>
			<beers>Stella, Carling and Fosters</beers>
			<food>Does not serve food</food>
			<children>Children not allowed</children>
			<openinghours>11am until 11pm</openinghours>
			<directions>Turn left out of tourist office, and its 300 yards down the road on the left hand-side</directions>
	</pub>
	<pub>
			<name>The Blackhorse</name>
			<address>18 We Will Rock You</address>
			<beers>Fosters, John Smiths and Grolosch</beers>
			<food>Does serve food</food>
			<children>Children are allowed</children>
			<openinghours>12am until 12pm</openinghours>
			<directions>Turn right out of tourist office, and its 600 yards down the road on the left hand-side</directions>
	</pub>
	<pub>
			<name>The Archer</name>
			<address>65 The Street</address>
			<beers>Stella</beers>
			<food>Does not serve food</food>
			<children>Children not allowed</children>
			<openinghours>3pm until 2am</openinghours>
			<directions>Turn left out of tourist office, next left and its 100 yards down the road on the left hand-side</directions>
	</pub>
	<pub>
			<name>The Blacksheep</name>
			<address>10 Something Road</address>
			<beers>Carling, Carlsberg and Skol</beers>
			<food>Does serve food</food>
			<children>Children are allowed</children>
			<openinghours>9am until 8pm</openinghours>
			<directions>Turn left out of tourist office, and its 1300 yards down the road on the left hand-side</directions>
	</pub>
	<pub>
			<name>The Bells and Whistles</name>
			<address>17 Just Another Street</address>
			<beers>Carling</beers>
			<food>Does serve food</food>
			<children>Children are allowed</children>
			<openinghours>8am until 10pm</openinghours>
			<directions>Turn right out of tourist office, then take the next right, followed by the next left and its 450 yards down the road on the right hand-side</directions>
	</pub>
</local-pubs>



Schema

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="local-pubs">
		<xs:complexType>
		<xs:sequence>
			<xs:element name="name" type="xs:string"/>
			<xs:element name="address" type="xs:string"/>
			<xs:element name="beers" type="xs:string"/>
			<xs:element name="food" type="xs:string"/>
			<xs:element name="children" type="xs:string"/>
			<xs:element name="openinghours" type="xs:string"/>
			<xs:element name="directions" type="xs:string"/>
		</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>