Using Deserialize XML Acitvity


#1

I have an xml string which goes like this :

The title tag has language attributes.
When i copy this string into the XMLString input property of Deserialize XML activity, I obviously have to escape the ". So this is what i copy. Since it is a string I append it with apostrophes at the start and end.

But I am getting this compiler error:
String constants should end with double apostrophe.
Where am i going wrong?


#2

Check if you are having the same issue when you get the xml data using Read Text activity(instead of pasting) and pass the output into xml deserialize activity.


#3

Thanks @vvaidya, I did not get any complier error


#4

Hi,
I deserialized my XML and stored the output argument as .But don’t know, how to print the specific tag values using the for each activity.


#5
foreach (XElement xE in xDoc.Descendants("Record"))
{
    Write line -> xE.Element("Name").Value
}

#6

Hi ,

Please find below tutorials on XML handling


Read XML files and get data - Namespaces