XML Creation

Hi,

I have the following XML data, is it right approach to have best XML. Still i need to have attributes as different sections and make use of it. Please go over and point what are all the chenges required to make it better.

<Cfg>
<CF>I</JTAG>
<CF>J</JTAG>

<EX name="WRITE">
<CA name="J" D="0" L="1"></CALL>
</EX>
<SC>
<RUN name="WRITE" ></RUN>
</SC>
</Cfg>
[521 byte] By [sivaprakash.shanmugam] at [2007-11-19 23:42:55]
# 1 Re: XML Creation
in xml a Node can contain Attribute as well as Node Value .it's up to your requirement what you want and in what manner .means if two node have all the fields Identical then Only in node name you can pass a attribute with contain names of the xml so this differentiate them very easily only by reading attribute. there is no need to check total value.And try to put all the Associated value under proper Node.because in XML storing and retriving of data is fast. so try to make it simple as much as possible. Makeing 3 to 4 Attribute to a Sinle Node better make a attribute to a node and remaining to child node for that node.

Thanx
humptydumpty at 2007-11-10 3:27:04 >
# 2 Re: XML Creation
Can you please give me an example with well formed XML document so that i can follow and redesign my XML. Which should contain Attribite list as different section.
sivaprakash.shanmugam at 2007-11-10 3:27:59 >
# 3 Re: XML Creation
Write now i don't have Have a look on CG .i think you can found some doc on CD or your can search on google. if still Problem please let us know.
Thanx
humptydumpty at 2007-11-10 3:28:57 >