customize xml from dataset

A

Andrew

hi,
i've successfully write my xml from a dataset schema ....
thanks for support ...
now i need to set properly this parameters ...

<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE anagrafica-prestazioni (View Source for full doctype...)>

how can i add this line considering i'm writing the xml froma dataset , with
a ds.writelxml
method ???
thanks ...
andrew
 
W

W.G. Ryan eMVP

AFAIK you can't do it only using WriteXML. You can use the XMLDataDocument
class though to load the dataset and add in that line, then just spit it
right back out - or use an XSLT transformation... I should have an article
on www.knowdotnet.com/WilliamRyan later tonight and i'll run through this
using a XSLT stylesheet.
 

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

Top