customize xml from dataset

  • Thread starter Thread starter Andrew
  • Start date Start date
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
 
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.
 
Back
Top