Quick XML Q...
Posted on 2008-10-21
can someone tell me and correct what I am doing wrong here:
Set objNode = objXML.SelectSingleNode("//Event[@ID = '" & intEventID & "']//User[@FNAME = '"&trim(strFName)&"'][@LNAME = '"&trim(strLName)&"']")
objNode.Attributes.Item(5).text = "1"
Set objNode = Nothing
I'm trying to set PAID to = 1 (which happens to be the 0 based 5 attribute of the User node)
I've verified that strFName, strLName, and intEventID are correct, and I can in fact retrieve the data from the node like this, however I am trying to update an attribute, and it simply does not update. No errors either