Advertisement
Advertisement
| 09.30.2008 at 11:33AM PDT, ID: 23775654 |
|
[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: |
I have scaled down the XML for this example, but if the structure has been maintained.
<?xml version="1.0" encoding="iso-8859-1"?>
<CheckoutReport>
<ReportId>36892</ReportId>
<ReportPeriodStart>7/15/2003 12:00:00 AM (ET)</ReportPeriodStart>
<ReportPeriodEnd>7/15/2003 11:00:00 AM (ET)</ReportPeriodEnd>
<Version>2.0</Version>
<PurchaseList>
<BuyerPurchase>
<TransactionInfo>
<InvoiceNumber>5647151</InvoiceNumber>
<CheckoutDate>07/15/2003 10:47:37 AM</CheckoutDate>
<TotalInvoiceAmount>102.48</TotalInvoiceAmount>
</TransactionInfo>
<ShipmentList>
<Shipment>
<ShipmentNumber>1</ShipmentNumber>
<ShipNameTitle>Dr.</ShipNameTitle>
<ShipFirstName><![CDATA[Mark]]></ShipFirstName>
<Items>
<Item>
<SKU><![CDATA[SCI1]]></SKU>
</Item>
</Items>
</Shipment>
</ShipmentList>
</BuyerPurchase>
</PurchaseList>
</CheckoutReport>
Here is the style sheet that I am trying to use and I can't get it to import. Right now it returns the error: "The column 'ShipmentNumber' was definde in the schema, but does not exist in the database."
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:sql="urn:schemas-microsoft-com:mapping-schema">
<xsd:annotation>
<xsd:appinfo>
<sql:relationship name="TransShip"
parent="CATransactionInfo"
parent-key="InvoiceNumber"
child="CAShipment"
child-key="InvoiceNumber" />
</xsd:appinfo>
</xsd:annotation>
<xsd:element name="TransactionInfo"
sql:relation="CATransactionInfo"
sql:key-fields="InvoiceNumber" >
<xsd:complexType>
<xsd:sequence>
<xsd:element name="InvoiceNumber" type="xsd:integer" />
<xsd:element name="CheckoutDate" type="xsd:date" />
<xsd:element name="TotalInvoiceAmount" type="xsd:string" />
<xsd:element name="ShipmentNumber" type="xsd:integer"
sql:relation="CAShipment"
sql:relationship="TransShip" />
<xsd:element name="ShipNameTitle" type="xsd:string"
sql:relation="CAShipment"
sql:relationship="TransShip" />
<xsd:element name="ShipFirstName" type="xsd:string"
sql:relation="CAShipment"
sql:relationship="TransShip" />
<xsd:element name="SKU" type="xsd:string"
sql:relation="CAShipment"
sql:relationship="TransShip" />
</xsd:sequence>
<xsd:attribute name="InvoiceNumber" sql:field="InvoiceNumber" />
<xsd:attribute name="CheckoutDate" sql:field="CheckoutDate" />
<xsd:attribute name="TotalInvoiceAmount" sql:field="TotalInvoiceAmount" />
<xsd:attribute name="ShipmentNumber" sql:field="ShipmentNumber" />
<xsd:attribute name="ShipNameTitle" sql:field="ShipNameTitle" />
<xsd:attribute name="ShipFirstName" sql:field="ShipFirstName" />
<xsd:attribute name="SKU" sql:field="SKU" />
</xsd:complexType>
</xsd:element>
</xsd:schema>
|