-
March 3rd, 2009, 10:18 PM
#1
[RESOLVED] A LINQ query ?
Hello there.
If we have a XML file like this :
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Information>
<Data ID="0" X="?" Y="?" Z="?" />
<Data ID="1" X="?" Y="?" Z="?" />
<Data ID="2" X="?" Y="?" Z="?" />
<Data ID="3" X="?" Y="?" Z="?" />
<Data ID="4" X="?" Y="?" Z="?" />
<Data ID="5" X="?" Y="?" Z="?" />
<Data ID="6" X="?" Y="?" Z="?" />
<Data ID="7" X="?" Y="?" Z="?" />
<Data ID="8" X="?" Y="?" Z="?" />
<Data ID="9" X="?" Y="?" Z="?" />
</Information>
How can we get this query :
The query : All nodes with the same X,Y,Z attributes.
e.g :
The query have to return something like this :
Code:
<Data ID="0" X="1" Y="2" Z="3" />
<Data ID="1" X="1" Y="2" Z="3" />
<Data ID="8" X="1" Y="2" Z="3" />
Thanks in advance
-
March 4th, 2009, 12:09 AM
#2
Re: A LINQ query ?
Probably. What parameters are you supplying, or do you want all matches?
-
March 4th, 2009, 11:28 AM
#3
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|