- From: <paul.downey@bt.com>
- Date: Tue, 13 Jun 2006 14:52:30 +0100
- To: <public-xsd-databinding@w3.org>
here's an xmlspec snippit as an example pattern for ISSUE-48: """ <div2 id="pattern-ElementReference" class="pattern"><head>Element Reference</head> <glist> <label>URI</label> <def><eg class="URI">http://www.w3.org/2002/ws/databinding/patterns/6/05/ElementReference</eg></def> <label>Definition</label> <def>-</def> <label>Examples</label> <def> <example id="eg-element-ElementReference" class="schemaexample"> <head>Contact</head> <glist> <def><eg xml:space="preserve" class="instanceexample"><![CDATA[ <xs:element name="elementReference" type="ex:ElementReference"/> <xs:element name="name" type="xs:string"/> <xs:element name="address" type="xs:string" /> <xs:element name="telephone" type="xs:string" /> <xs:complexType name="ElementReference"> <xs:sequence> <xs:element ref="ex:name"/> <xs:element ref="ex:address"/> <xs:element ref="ex:telephone"/> </xs:sequence> </xs:complexType> ]]></eg></def> <label>Instance:</label> <def><eg xml:space="preserve" class="instanceexample"><![CDATA[ <ex:elementReference> <ex:name>Benn</ex:name> <ex:address>52, Festive Road</ex:address> <ex:telephone>+44 207 946 0001</ex:telephone> </ex:elementReference> ]]></eg></def> </glist> </example> </def> </glist> </div2> """ I'll refine this into a format so others can more easily submit patterns - it's a little prone to errors as it stands :-/ Paul
Received on Tuesday, 13 June 2006 13:52:47 UTC