Generate Speicif XML for ASP.NET app?

G

Guest

I have a web application that needs to create very specific XML. I am not
sure how I need to approach this. That is why I am here. Any way, here is an
example of the XML


<gallery>
<album name=â€test†location=â€galleriesâ€>
<image name=â€testName†description=â€testDescâ€/>
<image name=â€testName2†description=â€testDesc2â€/>
</album>
<album name=â€test2†location=â€galleriesâ€>
<image name=â€testName3†description=â€testDescâ€/>
<image name=â€testName4†description=â€testDesc2â€/>
</album>
</gallery>

My database does not have the same schema. I can use aliases, but I am not
sure how to have ADO.NET generate the above XML using the GetXML method of a
DataSet. In your opinion, what would be the best approach to this. Thank you.

Daniel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top