I have a list of XML files, from which I have to get the string after a particular line.
In the files, I need to look for a tag Event
and get the attribute value DLLRoutine
.
e.g. the tag would look something like below ...
<Event Definition="Validate" DLLPath="" DLLName="Helper.dll" DLLClass="HelpMain"
DLLRoutine="pgFeatureInfoOnValidate_WriteToRegSelectedFeatures"
InputParameters="pTreeViewFeatureTreeServerOS" RunOnce="no"/>
I just need to get Dllroutine
values. How to do it using PowerShell?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…