C# XML and thread tutorial [Archive] - C Board

PDA

View Full Version : C# XML and thread tutorial


George2
03-17-2008, 05:47 AM
Hello everyone,


I am looking for two tutorials, one for C# XML and the other for C# thread. I have performend search, but all I found are comprehensive ones, which involves other materials making the samples too big.

Do you have any ones to recommend which are dealing with pure XML rendering and pure threading control s much as possible?

BTW: I am a beginner with C# and my book does not cover the two topics too much.


thanks in advance,
George

CornyKorn21
03-17-2008, 01:02 PM
Threading in C#
http://www.albahari.com/threading/

Is that like what you were looking for?

George2
03-18-2008, 02:52 AM
Cool, CornyKorn21!


This is what I am looking for, do you have any XML related stuff? What I want to learn is C# XML SDK/API.

Threading in C#
http://www.albahari.com/threading/

Is that like what you were looking for?


regards,
George

CornyKorn21
03-18-2008, 11:14 AM
Cool, CornyKorn21!


This is what I am looking for, do you have any XML related stuff? What I want to learn is C# XML SDK/API.




regards,
George

Sorry I don't have any XML stuff. Doing a study on multithreading this quarter which is the only reason I have the thread link.

George2
03-18-2008, 08:58 PM
Thanks all the same, CornyKorn21!


Sorry I don't have any XML stuff. Doing a study on multithreading this quarter which is the only reason I have the thread link.


regards,
George

Aran
03-19-2008, 06:04 PM
Do you want a tutorial on C# 3.5? You should look up LINQ in that case. LINQ's basically a query language you can use to parse through xml. If you know SQL it's pretty easy to learn, though it is different in some important ways.

George2
03-19-2008, 09:23 PM
Thanks Aran,


I just need an XML parser. I want to reuse my knowledge of DOM or other XML parser. Do you know whether C# has similar things?

Do you want a tutorial on C# 3.5? You should look up LINQ in that case. LINQ's basically a query language you can use to parse through xml. If you know SQL it's pretty easy to learn, though it is different in some important ways.


regards,
George

Aran
03-20-2008, 12:22 AM
Search MSDN for "X-DOM". That's the parser that C# 3.0+ uses. You can then navigate the DOM tree that it generates via LINQ or through the methods that X-DOM provides.

George2
03-20-2008, 03:10 AM
Thanks Aran,


I have found a similar document and want to share here. It uses XMLDocument and XPATH, and it could satisfy the need.

I think it should have similar or the same functionalities of X-DOM + LINQ?

http://www.codeproject.com/KB/cpp/myXPath.aspx

Search MSDN for "X-DOM". That's the parser that C# 3.0+ uses. You can then navigate the DOM tree that it generates via LINQ or through the methods that X-DOM provides.


regards,
George