Link to home
Start Free TrialLog in
Avatar of DevSupport
DevSupport

asked on

parsing problem with xml definitions

powershell find value of a xml tag in the attached xml

I want to find the COEStatusCode (in this case its unknown)

I tried $xmldata = [xml] (Get-Content https-photos.xml)
and then $xmldata.Objs.Version.COEStatuscode but it doesnt look like I am doing the right thing.

I'd like to know how to parse such xmls.

Thank You!
https-photos.xml
Avatar of rastoi
rastoi
Flag of Slovakia image

probably due to invalid xml format. tha t "version" inside <XD> field cancels further interpreting.
there no correct xml structure inside and whole part between <XD> and </XD> is represented like one string
SOLUTION
Avatar of rastoi
rastoi
Flag of Slovakia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DevSupport
DevSupport

ASKER

Thank You so much!!