how do i search for a path in xml?
hi all,
i have xml file looks this:
<project> <buildmachine4> <checkout1 exe="wco" folder='-f -r "c:/work/6.70_extensions/folder/"'/> <checkout2 exe="wco" folder='-f -r "c:/work/7.00_extensions/folder/"'/> </buildmachine4> <buildmachine5> <checkout3 exe="wco" folder='-f -r "c:/work/7.10.000_tip/folder/"'/> </buildmachine5> </project>
basically need have string called "buildstream" can 6.70_extensions, 7.00_extensions or 7.10.000_tip
i wish conduct search in xml file, if "buildstream" (comes combobox.selectedvalue) found match content of xml file, take path. example if buildstream = 6.70_extensions, take path "c:/work/6.70_extensions/folder/"
then, using path set folder non-read only. ie remove "c:/work/6.70_extensions/folder/" 's read-only
how can parse string using linq?
thanks in advance
Visual Studio Languages , .NET Framework > Visual C#
Comments
Post a Comment