T
timor.super
Hi all,
I tryed to create a linq2xml request, but I wasn't able to.
Can someone help me ?
Here's the xml
<datas>
<date start="12/07/2008" end="31/08/2008">
<thing>
<value>abc</value>
<value>def</value>
</thing>
<otherthing>
<value>ghi</value>
<value>jkl</value>
</otherthing>
</date>
<date start="01/09/2008" end="31/08/2009">
<thing>
<value>mno</value>
<value>pqr</value>
</thing>
<otherthing>
<value>stu</value>
<value>vwx</value>
</otherthing>
</date>
</datas>
I want to have an object that looks like this
myObject.thing => collections of string with values {"abc", "def"}
myObject.otherthing => collections of string with values {"ghi",
"jkl"}
this values are loaded, because DateTime.Now is between 'start'
attribute and 'end' attribute
Thanks in advance for any help
Best regards
I tryed to create a linq2xml request, but I wasn't able to.
Can someone help me ?
Here's the xml
<datas>
<date start="12/07/2008" end="31/08/2008">
<thing>
<value>abc</value>
<value>def</value>
</thing>
<otherthing>
<value>ghi</value>
<value>jkl</value>
</otherthing>
</date>
<date start="01/09/2008" end="31/08/2009">
<thing>
<value>mno</value>
<value>pqr</value>
</thing>
<otherthing>
<value>stu</value>
<value>vwx</value>
</otherthing>
</date>
</datas>
I want to have an object that looks like this
myObject.thing => collections of string with values {"abc", "def"}
myObject.otherthing => collections of string with values {"ghi",
"jkl"}
this values are loaded, because DateTime.Now is between 'start'
attribute and 'end' attribute
Thanks in advance for any help
Best regards