|
-
Aug 20th, 2008, 06:54 AM
#1
Thread Starter
Member
[RESOLVED] Object variable not set error while loading xml in domdocument
Dim strRelsAttrXML As String
Dim xdcAttrDoc As New MSXML2.DOMDocument
strRelsAttrXML = "<SText>bit.test_report_&_msg_in</SText>"
xdcAttrDoc.loadXML (strRelsAttrXML)
x = xdcAttrDoc.childNodes(0).Text
MsgBox x
Hi
Above code is not working as there is & in node text .
Help neeed. Urgent...
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|