summaryrefslogtreecommitdiff
path: root/xsd/examples/cxx/parser/library/library.xml
blob: b1ac98cf36e2ae780ba5f9cbace2415e7a561ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0"?>

<!--

file      : examples/cxx/parser/library/library.xml
copyright : not copyrighted - public domain

-->

<lib:catalog xmlns:lib="http://www.codesynthesis.com/library"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	     xsi:schemaLocation="http://www.codesynthesis.com/library library.xsd">

  <book id="MM" available="false">
    <isbn>0679760806</isbn>
    <title>The Master and Margarita</title>
    <genre>fiction</genre>

    <author recommends="WP">
      <name>Mikhail Bulgakov</name>
      <born>1891-05-15</born>
      <died>1940-03-10</died>
    </author>
  </book>


  <book id="WP" available="true" >
    <isbn>0679600841</isbn>
    <title>War and Peace</title>
    <genre>history</genre>

    <author recommends="CP">
      <name>Leo Tolstoy</name>
      <born>1828-09-09</born>
      <died>1910-11-20</died>
    </author>
  </book>


  <book id="CP" available="false">
    <isbn>0679420290</isbn>
    <title>Crime and Punishment</title>
    <genre>philosophy</genre>

    <author>
      <name>Fyodor Dostoevsky</name>
      <born>1821-11-11</born>
      <died>1881-02-09</died>
    </author>
  </book>

</lib:catalog>