Dim itemElement As XmlElement = document.CreateElement("item")
Dim descElement As XmlElement = document.CreateElement("description")
Dim compElement As XmlElement = document.CreateElement("company")
' Dim itemElement As XmlAttribute = document.CreateXmlDeclaration("item")
Dim unitElement As XmlElement = document.CreateElement("unit_price")
Dim caseElement As XmlElement = document.CreateElement("case_price")
Dim SRPElement As XmlElement = document.CreateElement("SRP")
'document.AppendChild("xml_text_writer")
'document.DocumentElement.AppendChild(Now)
' document.DocumentElement.AppendChild(itemElement)
'documentElement.firstChild.firstchild.nodeValue(+"\n")
'objXMLWriter.WriteStartElement(String.Empty, "Provider", String.Empty)
document.FirstChild.AppendChild(itemElement)
document.DocumentElement.AppendChild(compElement)
document.DocumentElement.AppendChild(descElement)
document.DocumentElement.AppendChild(unitElement)
document.DocumentElement.AppendChild(caseElement)
document.DocumentElement.AppendChild(SRPElement)
|