G
Guest
Hi everyone,
I am not that good in xml terms and coding in c#. To be honest.
ok, just imagine, i had this xml file.
<xml>
<language>C#</language>
<comments>cool language</comments>
<desc />
<author />
<company />
<codes />
</language>VB</language>
<comments>Never used before</comments>
<desc />
<author />
<company />
<codes />
....
....
</xml>
To search for C# keywords, i can just simple use XMLTextReader to do it.
There are few other terms, which i am so confused with.
XMLNode
XPath
XQuery
XInfer
or whatever X things? Maybe X-Men... hehe
I am looking for the best way to retrieve the fastest speed and best peformance when searching for a key inside the xml file.
I assume xml file is like a binary tree, BST. Correct me if i am wrong.
DTD and XSchema - i think this is more to define what is xml about? By adding a descriptive layer... hmm.. i guess so...
But again, just want to know the best way to search in a xml file which contains 10,000 <language /> tags. As i treat language as a unique key and used for searching.
No database used here. I think xml is a good way.
I am not that good in xml terms and coding in c#. To be honest.
ok, just imagine, i had this xml file.
<xml>
<language>C#</language>
<comments>cool language</comments>
<desc />
<author />
<company />
<codes />
</language>VB</language>
<comments>Never used before</comments>
<desc />
<author />
<company />
<codes />
....
....
</xml>
To search for C# keywords, i can just simple use XMLTextReader to do it.
There are few other terms, which i am so confused with.
XMLNode
XPath
XQuery
XInfer
or whatever X things? Maybe X-Men... hehe

I am looking for the best way to retrieve the fastest speed and best peformance when searching for a key inside the xml file.
I assume xml file is like a binary tree, BST. Correct me if i am wrong.
DTD and XSchema - i think this is more to define what is xml about? By adding a descriptive layer... hmm.. i guess so...
But again, just want to know the best way to search in a xml file which contains 10,000 <language /> tags. As i treat language as a unique key and used for searching.
No database used here. I think xml is a good way.