Hi, I am trying to write a query expression to parse an XML tree, but without much luck.
The tree is as follows:
<item>
<itemInfo id="1965339" lang="en" key="title">
<info>Octopuzzle
</info>
</itemInfo>
<itemInfo id="1965337" lang="en" key="longDescription">
<info>"In Octopuzzle you play the Octopus on a mission! Escape the dangerous reef, and save it in the process. To do so you’ll have to make it through 20 challenging levels.
The game offers a real brain teasing levels packed with interactive sea creatures and objects that will keep you hooked for more. Along the way you’ll have shooting challenges, cannons to jump from, meet armoured fish, and many more surprises the deep-sea has to offer.
Are you ready for the deep-sea puzzle adventure?
"
</info>
</itemInfo>
<itemInfo id="1965335" lang="en" key="shortDescription">
<info>In Octopuzzle you play the Octopus on a mission! Escape the dangerous reef, and save it in the process. To do so you’ll have to make it through 20 challenging levels.
</info>
</itemInfo>
</item>
I load into into a XElement without any problems.
What I need to do is get the values of title, short description, and long description respectively for a given value of the lang attribute, in this case en.
Can anyone help? Thanks