Beispiel-XML-Datei: Bücher (LINQ to XML)Sample XML File: Books (LINQ to XML)

Die folgende XML-Datei wird in verschiedenen Beispielen in der LINQ to XML-Dokumentation verwendet.The following XML file is used in various examples in the LINQ to XML documentation. Die Datei enthält Informationen zu Büchern ("Books").The file contains information about books.

books.xmlbooks.xml

<?xml version="1.0"?>  
<Catalog>  
   <Book id="bk101">  
      <Author>Garghentini, Davide</Author>  
      <Title>XML Developer's Guide</Title>  
      <Genre>Computer</Genre>  
      <Price>44.95</Price>  
      <PublishDate>2000-10-01</PublishDate>  
      <Description>An in-depth look at creating applications   
      with XML.</Description>  
   </Book>  
   <Book id="bk102">  
      <Author>Garcia, Debra</Author>  
      <Title>Midnight Rain</Title>  
      <Genre>Fantasy</Genre>  
      <Price>5.95</Price>  
      <PublishDate>2000-12-16</PublishDate>  
      <Description>A former architect battles corporate zombies,   
      an evil sorceress, and her own childhood to become queen   
      of the world.</Description>  
   </Book>  
</Catalog>  

Siehe auchSee Also

XML-Beispieldokumente (LINQ to XML)Sample XML Documents (LINQ to XML)