1

Topic: Question on reading xml a file

Hello, started to understand in xml the code, prompt please answers to some questions on it and whether I am correct their its sense;
Here the first example:
<TablesSetting Name = "Docs" PWD = "password" MergeAll = "1" sfield = "ROWID" stype = "VARCHAR" ssize = "45"
p1 = "HDOC" type1 = "VARCHAR" size1 = "45"
p2 = "CODE" type2 = "NVARCHAR" size2 = "10"
p3 = "ROWID" type3 = "VARCHAR" size3 = "45"
p4 = "ID_CON" type4 = "VARCHAR" size4 = "255"
p5 = "ID_PAC" type5 = "VARCHAR" size5 = "45">
<Lookups>
<Field name = "ID_BUD" targettable = "Bud" targetfield = "p1" resultfield = "HolderN"/>
<Field name = "ID_BUS" targettable = "Business" targetfield = "p1" resultfield = "BusinessN"/>
<Field name = "ID_COMP" targettable = "M_Comps" targetfield = "p1" resultfield = "CompanyN"/>
</Lookups>
QUESTIONS:
1) a line TablesSetting Name = "Docs" PWD = "password" MergeAll = "1" sfield = "ROWID" stype = "VARCHAR" ssize = "45"
Means: we install adjustments for table Docs, we specify the password, we specify that field ROWID has type VARCHAR and the size 45, truly?
2) p1 = "HDOC" type1 = "VARCHAR" size1 = "45"
The field p1 will be called HDOC and has type VARCHAR and the size 45, truly?
3.1)
<Lookups>
<Field name = "ID_BUD" targettable = "Bud" targetfield = "p1" resultfield = "HolderN"/>
</Lookups>

Here to me it is not clear that such for property or method Lookups?
3.2) also that in that case means
<Field name = "ID_BUD" targettable = "Bud" targetfield = "p1" resultfield = "HolderN"
The second example:
<MDM URL = "http://1c/si/ws/mdm.1cws" AuthType = "Basic" Login = "pass" Password = "pass">
<MDMTable Name = "CONTRACTS" SapName = "CounterAg" SapGUID = "ID_COUNTERAG" Landing = "M" SequenceKey = "ID_COUNTERAG" SequenceName = "SEQ_SM_COUNTERAG_IDS">
<Field MDMField = "GUID" SapField = "ID_COUNTERAG"/>
<Field MDMField = "MDM_ID" SapField = "ID_MDM"/>
<Field MDMField = "VnutrennijKod" SapField = "ID"/>
<Lookups>
<Field name = "ID_Ownership" targettable = "M_Ownership" targetfield = "p1" resultfield = "ID_Ownership"/>
</Lookups>
</MDMTable>

4) <MDM URL = "http://1c/si/ws/mdm.1cws" AuthType = "Basic" Login = "pass" Password = "pass">
Here to me it is not clear that such for a method or MDM
5) <MDMTable Name = "CONTRACTS" SapName = "CounterAg" SapGUID = "ID_COUNTERAG" Landing = "M" SequenceKey = "ID_COUNTERAG" SequenceName = "SEQ_SM_COUNTERAG_IDS">
What means MDMTable Name, Landing, SequenceKey, SequenceName?
In advance thanks for answers

2

Re: Question on reading xml a file

In itself this xml does not mean anything. Besides that tags and attributes most likely mean as what are called.
But it something means for that program which consumes it.
That it for the program - is not known.
says that this xml has any relation to  so it makes sense to ask about value of this code in appropriate section.

3

Re: Question on reading xml a file

Antonariy wrote:

in itself this xml does not mean anything. Besides that tags and attributes most likely mean as what are called.
But it something means for that program which consumes it.
That it for the program - is not known.
says that this xml has any relation to  so it makes sense to ask about value of this code in appropriate section.

, wrote here
http://www.sql.ru/forum/1229804/vopros- … ml-dlya-bd
I hope that help