customize XML from template

Joined
Jun 22, 2004
Messages
5
Programming Experience
10+
[font=verdana, arial, helvetica]I want to be able to map an XML file to an XSD from VB.net. Has anyone ever done this? Write now, if I use the writeXML function it defaultly writes an XML file like this:

<tableName>
<row1>
<column1>value</column1>
<column2>value</column2>
<column3>value</column3>
</row1>
...
</tableName>

That is great, but I want to be able to customize it and say it this way...

<tableName>
<row1 column1="value" column2="value" column3="value"/>
...
</tableName>

In fact I would like to do it in any way that the XSD is formatted. There has to be a way to do this. Anyone have any pointers? I am new at this. Thank you.

vs.
[/font]
 
Top Bottom