Hello Brian

Yes, I had tried that.  Problem turned out to be some fields were missing from 
the association statement.  

Thanks for the suggestion though.


Victor St. Clair
Jenkon
Vancouver, WA
360.256.4400
[EMAIL PROTECTED]
www.jenkon.com


 -----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]  On Behalf Of Brian Leach
Sent:   Thursday, December 22, 2005 5:49 AM
To:     u2-users@listserver.u2ug.org
Subject:        RE: [U2] uniXML question on uonet7.1

Have you tried the element syntax

LIST file TOXML ELEMENTS 

That may parse better.. But I'm in a coffee shop with no udt to hand. 

Brian

-----Original Message-----
    From: "Victor St Clair"<[EMAIL PROTECTED]>
    Sent: 22/12/05 01:29:50
    To: "u2-users@listserver.u2ug.org"<u2-users@listserver.u2ug.org>
    Subject: [U2] uniXML question on uonet7.1
      Hello
    
    I'm working on a project using C# with UO.net with UniData 7.1 on Win2003
    Server.  I'm trying to use the uniXML class to retrieve an XML document 
from a
    set of associated fields in a single file.  When I run the query I get a
    result of
    
    IBMU2.UODOTNET.UniXMLException
    Schema: global element: 'WEB_CNTRYS-MV" declared more than once.
    
    The file I'm running against has 8 fields defined in the association named
    WEB_CNTRYS.  I can use list on them from TCL and the data displays fine.
    However, if I add TOXML to export the results to XML I get funny results, as
    follows:
    
    List FILENAME WITH @ID = "RECORDNAME", WEB_EMP_IDS WEB_EMP_CNTRYS
    WEB_EMP_CNTRY_NAMES WEB_EMP_CNTRY_OPER_CULTURE CNTY_REQD_FLG ST_REQD_FLG
    ZIP_FLG TOXML
    
    The results look like this:
    
    <?xml version="1.0"?>
    <ROOT>
    <NETCONTROL_SQL _ID = "WEB.MASTER">
      <WEB_CNTRYS-MV WEB_EMP_IDS = "WEB" WEB_EMP_CNTRYS = "USA"
        

[Message truncated. Tap Edit->Mark for Download to get remaining portion.]
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to