I have schema/data that looks something like this:
The general idea is that I would like to change the “active” attribute on “John”.
When I query using a string like “/AddressList/Name@[id=“John”]”, the result portion of the response is similar to the following:
If I modify the “active” attribute of the Address node and then use the Active X “process” function passing in the “Name” node, I receive an error like the following:
INOXRE8814: Element/attribute name not found;Line 1, Column 1: Element name = Name
If I do the query like this “/AddressList/Name[@id=“John”]/…” and get the root of the document (“AddressList”), modify the same attribute, and then put the “AddressList” node back, it works fine.
My questions are the following:
- Can I put back the node “Name” and its modified subnode “Address” without querying for the entire document?
- If so, what do I need to pass as the parameters to the ActiveX API’s Process method?