RDDL Code Example

Back to The Resource Directory Description Language


<!DOCTYPE html PUBLIC "-//XML-DEV//DTD XHTML RDDL 1.0//EN"
                      "http://www.rddl.org/rddl-xhtml.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xlink="http://www.w3.org/1999/xlink"
      xmlns:rddl="http://www.rddl.org/">
<head>
  <title>Resource Directory Description Language (RDDL) Document 
for Recipes</title>
</head>
<body>
<h1>Recipe Resources</h1>

<p>
  This document describes an XML application for
  recipes adapted from an example in Chapters 12
  and 13 of <cite>XML in a Nutshell</cite>
  by Elliotte Rusty Harold and W. Scott Means.
  The namespace for this application is
  <tt>http://www.ibiblio.org/xml/ns/recipe</tt>
</p>

<h2>DTD</h2>

<p>Recipes may optionally be valid.</p>
<rddl:resource
  xlink:href="http://www.ibiblio.org/xml/dtds/recipe.dtd"
 
xlink:role="http://www.isi.edu/in-notes/iana/assignments/media-types/text/xml-dtd"
  xlink:arcrole="http://www.rddl.org/purposes#validation"
  xlink:title="DTD for validation"
>
  <p>If you wish to validate a recipe you should use the following
     PUBLIC identifier:
  </p>

<pre><tt>  PUBLIC "-//Elliotte Rusty Harold//DTD Recipe 0.91//EN"
          "http://www.ibiblio.org/xml/dtds/recipe.dtd"
</tt></pre>
</rddl:resource>

<h2>Style Sheets</h2>

<rddl:resource
  xlink:href="http://www.ibiblio.org/xml/styles/recipe.css"
  xlink:title="CSS Style Sheet for Recipes"
 
xlink:role="http://www.isi.edu/in-notes/iana/assignments/media-types/text/css"
>
 <p>
   A CSS style sheet for recipes is available from
   <a href="http://www.ibiblio.org/xml/styles/recipe.css">http://www.ibiblio.org/xml/styles/recipe.css</a>
 </p>
</rddl:resource>

    <hr />
    Copyright 2001 Elliotte Rusty Harold<br />
    Last Modified February 3, 2001
  </body>
</html>

Back to The Resource Directory Description Language