xsl-list
[Top] [All Lists]

Re: [xsl] Difference in data?

2010-09-30 10:36:59
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(_at_)CraneSoftwrights(_dot_)com
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>