2 writes to _xmlw
System.Data (2)
fx\src\data\System\Data\xmlsaver.cs (2)
2424_xmlw = DataTextWriter.CreateWriter(xw); 2463_xmlw = DataTextWriter.CreateWriter(xw);
35 references to _xmlw
System.Data (35)
fx\src\data\System\Data\xmlsaver.cs (35)
2433_xmlw.WriteStartElement(prefix, Keywords.DOCUMENTELEMENT, ( _dt.Namespace == null) ? "":_dt.Namespace); 2435_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.DataSetName), _ds.Namespace); 2456_xmlw.WriteEndElement(); 2457_xmlw.Flush(); 2478_xmlw.WriteStartElement(prefix, Keywords.DOCUMENTELEMENT, _dt.Namespace); 2482_xmlw.WriteStartElement(prefix, Keywords.DOCUMENTELEMENT, _ds.Namespace); 2484_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.DataSetName), _ds.Namespace); 2489_xmlw.WriteAttributeString(Keywords.XMLNS, Keywords.XSI, Keywords.XSD_XMLNS_NS, Keywords.XSINS); 2496new XmlTreeGen(SchemaFormat.Public).Save(_ds,_xmlw); 2499new XmlTreeGen(SchemaFormat.Public).Save( null, _dt, _xmlw, this._writeHierarchy); 2521_xmlw.WriteEndElement(); 2522_xmlw.Flush(); 2542_xmlw.WriteStartElement(prefix, encodedTableName, row.Table.Namespace); 2545_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName+row.rowID.ToString(CultureInfo.InvariantCulture)); 2547_xmlw.WriteAttributeString( Keywords.MSD, Keywords.ROWORDER, Keywords.MSDNS, rowsOrder[row].ToString()); 2550_xmlw.WriteAttributeString( Keywords.DFF, Keywords.HASCHANGES, Keywords.DFFNS, Keywords.INSERTED); 2553_xmlw.WriteAttributeString( Keywords.DFF, Keywords.HASCHANGES, Keywords.DFFNS, Keywords.MODIFIED); 2557_xmlw.WriteAttributeString( Keywords.DFF, Keywords.HASERRORS, Keywords.DFFNS, Keywords.TRUE); 2574_xmlw.WriteAttributeString(colPrefix, col.EncodedColumnName, col.Namespace, col.ConvertObjectToXml(value)); 2587_xmlw.WriteAttributeString(Keywords.MSD, "hidden"+col.EncodedColumnName, Keywords.MSDNS, col.ConvertObjectToXml(value)); 2601_xmlw.WriteAttributeString(Keywords.XSI, Keywords.XSI_NIL, Keywords.XSINS, Keywords.TRUE); 2608_xmlw.WriteStartElement(colPrefix, col.EncodedColumnName, col.Namespace); 2617_xmlw.WriteAttributeString(Keywords.XML, Keywords.SPACE, Keywords.XML_XMLNS, Keywords.PRESERVE); 2620_xmlw.WriteString(col.ConvertObjectToXml(value)); 2627_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, DataStorage.GetQualifiedName(valuesType)); 2630col.ConvertObjectToXml(value, _xmlw, null); // pass XmlRootAttribute as null, it also means: No XmlSerializer 2640col.ConvertObjectToXml(value, _xmlw, xmlAttrib); 2646_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, valuesType.FullName); 2649_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, Keywords.TYPEINSTANCE); 2653_xmlw.WriteAttributeString(Keywords.XSI, Keywords.TYPE, Keywords.XSINS, xsdTypeName); 2654_xmlw.WriteAttributeString (Keywords.XMLNS_XSD, Keywords.XSDNS); 2657_xmlw.WriteString(col.ConvertObjectToXml(value)); 2660col.ConvertObjectToXml(value, _xmlw, null); 2665_xmlw.WriteEndElement(); 2677_xmlw.WriteEndElement();