Hi, Clive
ds is a Dataset, xmlWri is a XmlTextWriter (System.Xml)
I fill the DataGrid with this code:
ds := DataSet.Create;
ds.ReadXml('myFile.xml');
DataGridXML.DataSource := ds.Tables[0];
DataGridXML.DataBindings;
Then, with another button, I'm trying to save the modified file. This is the...
Hi people,
I'm using a XML file in a datagrid... when I save it, I also would like to add a reference to a STYLE SHEET:
xmlWri := XmlTextWriter.Create('myFile.xml',Encoding.UTF8);
xmlWri.WriteString('<?xml-stylesheet type="text/xsl" href="myFile.xsl"?>');
xmlWri.Close...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.