NickT
08-18-2005, 01:28 PM
Hi. Currently I am evaluating True Update for a project my company is working on. I have been impressed by its easy to use interface and strong features.
However, I am having trouble understanding how the XML.GetAttribute action works. I have an XML file that I need to read from. It's format is very similar to the one below. How would I extract the "Value" of the "ServerLocation" attribute?
serverPath = XML.GetAttribute("ItemSearchResponse/OperationRequest/Arguments/Argument Name", "Value");??
<?xml version="1.0" encoding="UTF-8" ?>
<ItemSearchResponse>
<OperationRequest>
<Arguments>
<Argument Name="Service" Value="AWSECommerceService" />
<Argument Name="ItemPage" Value="11" />
<Argument Name="ServerLocation" Value="\\server\share" />
</Arguments>
</OperationRequest>
</ItemSearchResponse>
THANKS :)
However, I am having trouble understanding how the XML.GetAttribute action works. I have an XML file that I need to read from. It's format is very similar to the one below. How would I extract the "Value" of the "ServerLocation" attribute?
serverPath = XML.GetAttribute("ItemSearchResponse/OperationRequest/Arguments/Argument Name", "Value");??
<?xml version="1.0" encoding="UTF-8" ?>
<ItemSearchResponse>
<OperationRequest>
<Arguments>
<Argument Name="Service" Value="AWSECommerceService" />
<Argument Name="ItemPage" Value="11" />
<Argument Name="ServerLocation" Value="\\server\share" />
</Arguments>
</OperationRequest>
</ItemSearchResponse>
THANKS :)