Click here to Skip to main content
12,454,612 members (56,068 online)
Click here to Skip to main content

Stats

66.6K views
1.5K downloads
62 bookmarked
Posted

LINQ to XSD

, 6 Nov 2008 CPOL
How to use LINQ through XSD and XML
<?xml version="1.0"?>
<x:books xmlns:x="urn:books">
   <book id="bk001">
      <author>Robert E. Howard</author>
      <title>The Coming of Conan the Cimmerian</title>
      <genre>Science Fiction Fantasy</genre>
      <price>44.95</price>
      <pub_date>2003-12-02</pub_date>
      <review>Conan let go, spat blood from his mouth..</review>
   </book>

   <book id="bk002">
      <author>Terry Goodkind</author>
      <title>Wizard's First Rule</title>
      <genre>Fantasy</genre>
      <price>24.95</price>
      <pub_date>2001-06-23</pub_date>
      <review>My world contest best book</review>
   </book>

   <book id="bk003">
      <author>HP Lovecraft</author>
      <title>Call of Cthulhu</title>
      <genre>Science Fiction Fantasy</genre>
      <price>42</price>
      <review>I am writing this under an appreciable mental strain, since by tonight I shall be no more...</review>
   </book>
</x:books>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Le Sourcier
Software Developer ECT Industries
France France
I am software engineer and I work for the aviation.

I'm currently working on many different project and in many different languages
- Visual C++ 6
- C#
- ASP.NET
- C and assembly

Have lot of fun

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160826.1 | Last Updated 6 Nov 2008
Article Copyright 2008 by Le Sourcier
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid