Monday, November 24, 2008

Blatt 3

1.

a)

<element name=”kochbuch”>
  <complexType >
    <element name=”rezept” minOccurs=”1” maxOccurs=”unbound”>
      <complexType>
        <sequence>
          <element name=”rezepttyp”>
            <complexType>
              <attribute name=”name” type=”string” use=”required”/>
            </complexType>
          </element>
          <element name= “titel” type =”string”/>
          <element name= “zutat” type=“string“ minOccurs=”1” maxOccurs=”unbound”/>
          <element name= “arbeitsschritt” type=”string” minOccurs=”1” maxOccurs=”unbound”/>
            <complexType>
              <attribut name=”nummer” type=”short” use=“required“/>
            </complexType>
          </element>
        </sequence>
      </complexType>
    </element>
  </complexType>
</element>

b) 'int' ist auf 32 bit begrenzt, 'integer' jedoch "unbegrenzt".

c)

<complexType name=“person“>
  <sequence>
    <element name=“last“ type=“string“ minOccurs=“0“ maxOccurs=“unbounded“/>
    <element name=“first“ type=“string“/>
    <element name=”affiliation” type=”string”/>
  </sequence>
</complexType>

<element name =“bib“>
  <complexType>
    <element name=“book“ minOccurs=“0“ maxOccurs=“unbound“>
      <complexType>
        <sequence>
          <element name=”title” type=”string” use=”required”/>
            <choice>
              <element name=”author” type=”person” minOccurs=”0” maxOccurs=”unbound”/>
              <element name=”editor” type=”person” minOccurs=”0” maxOccurs=”unbound”/>
            </choice>
          <element name=”publisher” type=”string” use=”required”>
          <element name=”price” type=”string” use=”required”/>
        </sequence>
        <attribute name=”year” type=”year” use=”optional”/>
      </complexType>
    </element>
  </complexType>
</element>

2.

a)

1)
'5 heaviest buildings moved' liefert 'http://science.howstuffworks.com/heaviest-building-moved.htm' an erster Stelle.
2)
Ernest Hemmingway
'sportreporter sylvia beach' liefert 'content.grin.com/document/v18845.pdf' an erster Stelle.
3)
Jayne Mansfield
'künstler "im alter von 34 jahren" herzinfarkt' liefert 'http://www.steffi-line.de/archiv_text/nost_3filmusa/22_mansfield.htm' an erster Stelle.
4)
Phaidon Press Inc

'amazon stationary journal cartoonist' liefert 'http://www.amazon.com/Sempe-Journal-Stationery-Editors-Phaidon/dp/0714845507' an erster Stelle.

b) leider noch nicht fertig

No comments: