Does XML Diff Language support match by node type or attribute?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
For example, I want to patch a segment in an app.config as:

<Sst.Workflow.Properties.Settings><br/>
<setting name="TakeCardDelay" serializeAs="String <br/>
<value>00:00:30</value><br/>
</setting><br/>
<setting name="TimeoutInStep" serializeAs="String <br/>
<value>00:00:10</value><br/>
</setting><br/>
</Sst.Workflow.Properties.Settings>
The position of "setting name="TimeoutInStep"" is unknown (always changes) how can I locate it by
<span>specific Attribute="TimeoutInStep" like xpath setting[@name=TakeCardDelay] ?
<span>Thanks<br/>
<hr class="sig Victor Woo

View the full article
 
Back
Top