Exemple #1
0
        public void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("message");

            messageHeaderViewModel_.buildXml(xmlWriter);

            messageBodyViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
        }
        public void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("iXmlData");
            xmlWriter.WriteElementString("excel_type", "message");
            xmlWriter.WriteStartElement("message");
            messageHeaderViewModel_.buildXml(xmlWriter);

            messageBodyViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }