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: "[email protected]"<[email protected]>
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
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/