[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Difference in data?

Subject: Re: Difference in data?
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Sep 2010 11:36:38 -0400
Re:  Difference in data?
At 2010-09-30 08:10 -0700, Abe Scott wrote:
Exhibit A:

<identification>
    <returned_name_address>
        <name_address>Doe, John</name_address>
</returned_name_address>
<returned_name_address>
    <name_address>33235 N Main St</name_address>
</returned_name_address>
<returned_name_address>
<name_address>CLEVELAND OH 441245239</name_address>
</returned_name_address></identification>


Exhibit B:


<identification>
<returned_name_address>
    <name_address>Doe, John</name_address>
    <name_address>33235 N Main St</name_address>
    <name_address>CLEVELAND OH 441245239</name_address>
</returned_name_address></identification>

This doesn't really fall into "xsl", I know.. but knew this forum could help.

Yes, it isn't related to XSL and should not have been posted here in order to reduce the signal/noise ratio for XSL/XPath issues.


One list you could have posted this to is XML Dev:

http://www.xml.org/xml-dev/

I

understand that A is multiple rows in the <returned_name_address> table. How
would you describe B? We're getting B back in a result set from a vendor
service and I'm having trouble explaining to them why it's bad. Any help would
be appreciated.

You could cite the improper cardinalities: it seems that the cardinality of <returned_name_address> is supposed to be "1 or more" and the cardinality of <name_address> is "1" in Exhibit A, and that isn't what is being used in Exhibit B.


But ask on XML-Dev and see what other people have to say.

I hope this helps.

. . . . . . . . . . . Ken

--
XSLT/XQuery training:   after http://XMLPrague.cz 2011-03-28/04-01
Vote for your XML training:   http://www.CraneSoftwrights.com/s/i/
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.