Question about mapping-schemas

Question about mapping-schemas

Post by Rein Peterse » Wed, 10 Apr 2002 02:58:03

I've been working with mapping-schemas and I wonder if and why it is
necessary to use the sql:relationship annotation when there is already the
mechanism KEY and KEY-REF within XML Schemas...



1. Question on Mapped Schemas and Xpath Queries


We are using annotated Biztalk schemas with the Xpath Query/Schemas feature
in SQL Server 2000 to return a populated CommonAdvanceShipNotice.XML (Ships
with BizTalk) We have a few questions about this.

1. Check out the stub below from the CommonAdvanceShipNotice.XML.  In our
freight system the attributes of ShipmentDetail and CarrierWeight Detail
come from a single row of a single table.  Seemingly there is no way to make
this happen other than "SELF JOINS" accomplished by referencing multiple
views of the same table with the sql:relationship annotation. This seems
needlessly complex and query analyzer shows this to be grossly inefficient.

2. All movements in our systems are in pounds by default.  We want to fill
in the WeightQualifier attribute of the CarrierWeightDetail with a Default
Value of LB for pounds.  We want to do this directly in the schema by using
the Default Value attribute.  We do not want to use a computed field in a
view, nor do we want to do futher XSLT processing.

3. In general it seems that unless there is a FLAT and one to one
co-correspondence between SQL tables and XML elements,  and SQL columns and
XML attributes,  XPATH queries against schemas are not useful.  In order to
fill in the common XML Biztalk Schemas using XPATH queries against SQL2000
we need to figure out a way around these issues.

    |        |___UnitCount
    |        |___UnitOfMeasure

2. Multi-lingual support

3. XML Schemas and mapping schemas

4. Problem with AIX 4.1.5 File System & Oracle8..... URGENT! Production System is down !!

5. pgsql/src/backend/utils/mb/Unicode (

6. trailing zeroes

7. Mapping schemas for multiple tables

8. SQL2000, XML, ADO and SOAP

9. XML Mapping Schemas

10. How to select all nodes with xsd mapping schemas using SQLXMLOLEDB.3.0

11. Experiences with Mapping Schemas, Updategrams, and the DataSet

12. ADO, XPath and Mapping Schemas

13. Help with Mapping Schemas