Please disable Adblockers and enable JavaScript for domain CEWebS.cs.univie.ac.at! We have NO ADS, but they may interfere with some of our course material.

Assignment 3 (up)

Assignment 3a - Extraction (up)

Create 4 SQLXML queries, each with the following properties: 
 
Further rules: 
 
Each XML result has to contain at least 5 levels of elements (including root element) and at least 3 different attributes. E.g.: 
 
<address> <-- level 1-->
  <name>
    <given_name>Chuck</given_name>
    <family_name>Norris</family_name>
  </name>
  <address zip="1190" country="AT">
    <street> <-- level 3-->
      <name>Waehringerstrasse</name>  <-- level 4-->
      <number type="main">29</number>
      <number type="internal">4</number>
      <number type="internal">4.49</number>
    </street>
    <city>Vienna</city>
  </address>
</address>

Submission (up)

Hints (up)

Assignment 3b - Schema (up)

Create handwritten RNGs for each XML output (4 schemas in total). Each of the five XML outputs of your SQL queries should be matched by one of the Schemas. 
 
Rules: 

Submission (up)

Hints (up)

Assignment 3c - Queries (up)

Create 3-6 XPath 1.0 (without extensions) queries that extract information from each of your XML Files (at least 19 in total). 
 
Rules: 

Submission (up)

Hints (up)

Letzte Änderung: 11.06.2018, 14:18 | 889 Worte