Namespace Question

hb at ix.heise.de hb at ix.heise.de
Mon Mar 29 13:25:55 BST 1999


Hi,

For a short example regarding namespaces I have used a variant of Tim's
example in his XML.com article. 

Is it necessary (as I presume) to assign every single attribute as long
as it is not from HTML?

<html xmlns="http://www.w3.org/html4"
     xmlns:b="http://www.my.server.de/book"
     xmlns:p="http://www.my.server.de/person">
 <head><title>My Booklist</title></head>
 <body>
  <table>
    <tr><td>
<!-- these are the two lines where the attributes in question are: -->
          <b:title b:read="yup" 
             class="important">Dream a little dream of me</b:title></td>
      <td><b:author id="sfreud">
          <p:title>Dr.</p:title>
          <b:firstname>Sigmund</b:firstname>
          <b:surname>Freud</b:surname></b:author></td></tr>
  </table>
 </body>
</html>

Best regards,

Henning Behme

iX - Magazin fuer professionelle Informationstechnik
Helstorfer Str. 7 * 30625 Hannover * Germany  
http://www.heise.de/ix/ * +49 511 5352-374 * f: -361
------ White, adj. and n. Black  (Ambrose Bierce) ------

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list