08-13-2008, 04:02 AM
How to Modify the data in an existing XML Path.
From looking around the help files, I would say right off that QM would load the XML file, assign data in a specified XML path to variables, modify the changes to those variables, use the Delete command to delete the top node of the path which will delete all descending nodes, and then add the node back with the modified data. Example please? Or if there is a better way altogether.
Attributes and what they are used for.
Really just don't see the light...Can't think of ways to use these suckers. I've gotten a couple errors trying to use these guys too, where if I try to add an attribute to a Node, the following code will : "0x80070057, The parameter is incorrect". Shed some light? It happens if I try to add a child to a child with an attribute. Since I really don't get the whole idea behind these things, I don't know why this is like this.
I feel attributes could be very useful, but just don't grab how. Can I get a variety of examples using attributes in XML so I can get a better grab on usefulness and start to really fly.
Thanks,
Jimmy Vig
From looking around the help files, I would say right off that QM would load the XML file, assign data in a specified XML path to variables, modify the changes to those variables, use the Delete command to delete the top node of the path which will delete all descending nodes, and then add the node back with the modified data. Example please? Or if there is a better way altogether.
Attributes and what they are used for.
Really just don't see the light...Can't think of ways to use these suckers. I've gotten a couple errors trying to use these guys too, where if I try to add an attribute to a Node, the following code will : "0x80070057, The parameter is incorrect". Shed some light? It happens if I try to add a child to a child with an attribute. Since I really don't get the whole idea behind these things, I don't know why this is like this.
I feel attributes could be very useful, but just don't grab how. Can I get a variety of examples using attributes in XML so I can get a better grab on usefulness and start to really fly.
Thanks,
Jimmy Vig