Hi again,
1.- Yes the final code has
Set lDOMRootNode = lDOMDoc.createElement("invoice-batch"). This xml file is validated with a dtd.
<:)
2.- After inserting the line
Set lDOMRootNode = lDOMDoc.documentElement
I can add nodes again !!
3.- For the moment I am sticking to load the xml at...
Hello,
I made some changes and I finally got the first line and child nodes. I had some errors on the s string. Then I was trying to append nodes to the root node and apparently this is not possble. Finally , I concatenated the s string with the rootnode (that by now has some childs) and then...
Hello,
I can`t get the first line in the XML.
What I am doing wrong?
Private Sub Command1_Click()
Dim s As String
Dim crlf As String
Dim lDOMDoc As New MSXML2.DOMDocument30
Dim lDOMRootNode As MSXML2.IXMLDOMNode
Dim lDOMLev1Node As MSXML2.IXMLDOMNode
crlf = Chr(10) & Chr(13)
Set...
Hello,
I am creting an XML file with visual basic 6 and I can`t
insert the DOCTYPE LINE at the begging
<!DOCTYPE invoice-batch PUBLIC
"-//easyap/easyap Mapping DTD//EN"
"InvoiceImport-DINOSOL.dtd">
My client needs this file and the doctype property is read only.
Thanks
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.