Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Element Names
Message
From
19/11/2008 15:04:24
 
 
To
All
General information
Forum:
ASP.NET
Category:
XML
Title:
Element Names
Miscellaneous
Thread ID:
01362922
Message ID:
01362922
Views:
60
Just really digging into designing my own XML file. And I have a question.

I have a section that list the fields in a table. Is using the field name as the element name OK as in this example:
<?xml version="1.0"?>
<DataFiles>
  <DataFile Source="" FileType="DBF" FileName="run.dbf">
    <Fields>
      <NM />
      <DEPT />
      <CO />
      <AD />
      <CTY />
      <ST />
      <ZIP />
    </Fields>
  </DataFile>
</DataFiles>
Or should I do
  <Field Name="NM" />
Next
Reply
Map
View

Click here to load this message in the networking platform