Hi!
I am extracting data from the access database.
I know some XML but don't know how to handle this.
I am throwing XML tags around each value of fields from the table..
The field name is short abbreviation.
I need to add some reasonable description.
How should I do this ??
Here is what I am trying to do.
I have a table:
tbleAgent
--------
field name1 RefID
field name2 AgentName
field name3 Decription
field name4 CharDetail
...
etc
OK first three field names pretty short and straight forward. So I can use them in XML tag.
<Agent>
<RefID>2</RefID>
<AgentName>anthrax</AgentName>
<Decription>Chemical agent.......etc.....</Decription>
<CharDetail>blah blah...etc </CharDetail>
I am using the fieldnames as XML tags <RefID><AgentName>...etc. when I do the extraction from the table..
How can I add a short decription to it..???
See <CharDetail> is too short and it is not too obvious to other people that it is "Characteristic Detail"
I can't just use it as <CharacteristicDetail> (I guess this one short enough) but what about other longer description??
Can you help?? i don't think I explained right...
Sorry..
SHould I code like this??
<RefID_detail>
<Agent>
<RefID_detail>Reference ID</RefID_detail>
<RefID>2</RefID>
<AgentName_detail>Agent Name</AgentName_detail>
<AgentName>anthrax</AgentName>
<Description_detail>Description</Description_detail>
<Description>Chemical agent.......etc.....</Description>
<CharDetail_detail>Characteristic Detail</CharDetail_detail>
<CharDetail>blah blah...etc </CharDetail>
</agent>
Does this make any sense??
Thank you for your help in advance.
I am extracting data from the access database.
I know some XML but don't know how to handle this.
I am throwing XML tags around each value of fields from the table..
The field name is short abbreviation.
I need to add some reasonable description.
How should I do this ??
Here is what I am trying to do.
I have a table:
tbleAgent
--------
field name1 RefID
field name2 AgentName
field name3 Decription
field name4 CharDetail
...
etc
OK first three field names pretty short and straight forward. So I can use them in XML tag.
<Agent>
<RefID>2</RefID>
<AgentName>anthrax</AgentName>
<Decription>Chemical agent.......etc.....</Decription>
<CharDetail>blah blah...etc </CharDetail>
I am using the fieldnames as XML tags <RefID><AgentName>...etc. when I do the extraction from the table..
How can I add a short decription to it..???
See <CharDetail> is too short and it is not too obvious to other people that it is "Characteristic Detail"
I can't just use it as <CharacteristicDetail> (I guess this one short enough) but what about other longer description??
Can you help?? i don't think I explained right...
Sorry..
SHould I code like this??
<RefID_detail>
<Agent>
<RefID_detail>Reference ID</RefID_detail>
<RefID>2</RefID>
<AgentName_detail>Agent Name</AgentName_detail>
<AgentName>anthrax</AgentName>
<Description_detail>Description</Description_detail>
<Description>Chemical agent.......etc.....</Description>
<CharDetail_detail>Characteristic Detail</CharDetail_detail>
<CharDetail>blah blah...etc </CharDetail>
</agent>
Does this make any sense??
Thank you for your help in advance.