Code: Select all
<Music>
<Album Title="Chris Sells Live" Artist="Chris Sells" ReleaseDate="2/5/2008" />
<Album Title="The Road to Redmond" Artist="Luka Abrus" ReleaseDate="4/3/2008" />
<Album Title="The Best of Jim Hance" Artist="Jim Hance" ReleaseDate="6/2/2008" />
</Music>
and ⎕USING with the following:
Code: Select all
⎕USING←'System.Xml.Linq,System.Xml.Linq.dll'
then you can get an XElement the following way:
Code: Select all
xel←XElement.Parse(⊂myMusic)
the following line is expected to work but cause a DOMAIN ERROR:
Code: Select all
xel.Elements(⊂'Album')
DOMAIN ERROR
xel.Elements(⊂'Album')
∧
I have tried many things but nothing is working. Is there a way to make this work ?
Thanks in advance,
Pierre Gilbert