I have a string that is formatted like this (the string is one continuous, no new line return)
/CallDump/CallInfo/KVP[@Key='Group' and (@Value='Best Group')]:10,
/CallDump/CallInfo/child::KVP[@Key='Dept' and (@Value='Customer Service' or @Value='Sales')]:240,
compare(Recordings/Recording/Location, 'New York')=0:20,
default:5,
I cannot seem to find a non complex way to convert it into a dictionary()
results would be something like this:
Key: /CallDump/CallInfo/KVP[@Key='Group' and (@Value='Best Group')] Value: 10
Key: compare(Recordings/Recording/Location, 'New York')=0 Value: 20