I have an xml file that looks like this
<step>
<id>3</id>
<backid>1</backid>
<question>Are you having a good day</question>
<yesid>4</yesid>
<noid>5</noid>
</step>
It's set up to be an application that asks the user yes and no questions to assist in guiding the user through a complicated business process. The yesid and noid are the id numbers of the next step of the process. In the past (and in other languages) I would have loaded the info from the xml file into a multidimensional array and gone from there.
However I am attempting to use linq to xml in this application and I am wondering if there is a more efficient way of doing this than the xpath to array that I have been doing in the past