rastagoose
New Member
I am trying to write a python script that will parse xml file (specifically msbuild file which is in xml format)However, parser doesn't locate child nodes even though they existFor ex. my msbuild file structure is like this\[code\]<Choose> <When Condition="'KEY1'=='$(KEY2)'"> <PropertyGroup> <Value1>1</Value1> <Value2>2</Value2> </PropertyGroup> </When></Choose>\[/code\]Parser locates PropertyGroup but it doesn't find any child valueAnd when I directly try getElementsByTagName("Value1"),it does not find anythingJust for more info, that file is dynamically generated. And I created and added '\n' text node to Property group each time child node is appended so nodes are not placed together.I am really not sure why parser doesn't locate it...Thank you for your help!