Advertisement
Advertisement
| 07.17.2008 at 02:35PM PDT, ID: 23575044 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: |
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="test">
<xs:complexType>
<xs:sequence>
<xs:element ref="shell_styles" />
<xs:element ref="brands" />
</xs:sequence>
</xs:complexType>
<!-- Primary Key -->
<xs:key name="shell_id">
<xs:selector xpath="./shell_styles/shell"></xs:selector>
<xs:field xpath="@code"></xs:field>
</xs:key>
<!-- Foreign Keys -->
<!-- Brand: shell_style code -->
<xs:keyref name="shell_style_id" refer="shell_id" >
<xs:selector xpath="./brands/brand/shell_style"></xs:selector>
<xs:field xpath="@code"></xs:field>
</xs:keyref>
</xs:element>
<xs:element name="shell_styles">
<xs:complexType>
<xs:sequence>
<!-- Shell name and code -->
<xs:element name="shell" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="code" use="required">
<xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="[A-Z]{2}[0-9]{2}"/></xs:restriction></xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- Primary key -->
</xs:element>
<!-- Brands: by brand, a list of valid shell styles, and for each shell style, a list of valid colour codes -->
<xs:element name="brands">
<xs:complexType>
<xs:sequence>
<!-- Brand matrix -->
<xs:element name="brand" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<!-- Shell style collection -->
<xs:element name="shell_style" maxOccurs="unbounded">
<xs:complexType>
<!-- Colour code -->
<xs:sequence><xs:element name="colour_code" maxOccurs="unbounded" type="xs:string" /></xs:sequence>
<xs:attribute name="code" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
<!-- Brand name -->
<xs:attribute name="name" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
|