Merge branch 'master' of git.2li.ch:Nebucatnetzer/ibz
This commit is contained in:
commit
1340eee6b8
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Virtual Library</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!ELEMENT collection (description,recipe*)>
|
||||
|
||||
<!ELEMENT description ANY>
|
||||
|
||||
<!ELEMENT recipe (title,ingredient*,preparation,comment?,nutrition)>
|
||||
|
||||
<!ELEMENT title (#PCDATA)>
|
||||
|
||||
<!ELEMENT ingredient EMPTY>
|
||||
<!ATTLIST ingredient name CDATA #REQUIRED
|
||||
amount CDATA #IMPLIED
|
||||
unit CDATA #IMPLIED>
|
||||
|
||||
<!ELEMENT preparation (step*)>
|
||||
|
||||
<!ELEMENT step (#PCDATA)>
|
||||
|
||||
<!ELEMENT comment (#PCDATA)>
|
||||
|
||||
<!ELEMENT nutrition EMPTY>
|
||||
<!ATTLIST nutrition protein CDATA #REQUIRED
|
||||
carbohydrates CDATA #REQUIRED
|
||||
fat CDATA #REQUIRED
|
||||
calories CDATA #REQUIRED
|
||||
alcohol CDATA #IMPLIED>
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE collection SYSTEM 'recipes.dtd'>
|
||||
<collection>
|
||||
<description>Dies ist ein Rezept für etwas zu bauen.</description>
|
||||
<recipe>
|
||||
<title>Brot</title>
|
||||
<ingredient name="wasser" amount="2" unit="liter"/>
|
||||
<ingredient name="mehl" amount="2" unit="kg"/>
|
||||
<preparation>
|
||||
<step>rühren</step>
|
||||
<step>knetten</step>
|
||||
<step>backen</step>
|
||||
</preparation>
|
||||
<comment>Dies ist ein Kommentar</comment>
|
||||
<nutrition protein="2" carbohydrates="4" fat="7" calories="2000" alcohol="40"/>
|
||||
</recipe>
|
||||
</collection>
|
Reference in New Issue