EDN Admin
Well-known member
<span style="color:#333333; font-family:Segoe UI,sans-serif Is it possible to create separate lists in Linq to XML??? I would like to create three separate lists
<span style="color:#333333; font-family:Segoe UI,sans-serif List<String> emailList1, List<String> emailList2, List<String> emailList3 from the XML file below.
<pre class="prettyprint <Emails>
<title name="listone
<email>john.spam@domain.com</email>
<email>jane.newsletter@domain.com</email>
</title>
<title name="listtwo
<email>victor.spam@domain.com</email>
<email>mary.newsletter@domain.com</email>
</title>
<title name="listthree
<email>rick.spam@domain.com</email>
<email>lloyd.newsletter@domain.com</email>
</title>
</Emails>
[/code]
<br/><hr class="sig sean zhang signature
View the full article
<span style="color:#333333; font-family:Segoe UI,sans-serif List<String> emailList1, List<String> emailList2, List<String> emailList3 from the XML file below.
<pre class="prettyprint <Emails>
<title name="listone
<email>john.spam@domain.com</email>
<email>jane.newsletter@domain.com</email>
</title>
<title name="listtwo
<email>victor.spam@domain.com</email>
<email>mary.newsletter@domain.com</email>
</title>
<title name="listthree
<email>rick.spam@domain.com</email>
<email>lloyd.newsletter@domain.com</email>
</title>
</Emails>
[/code]
<br/><hr class="sig sean zhang signature
View the full article