OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Namespace Question

[ Lists Home | Date Index | Thread Index ]
  • From: hb@ix.heise.de
  • To: xml-dev@ic.ac.uk, hb@ix.heise.de
  • Date: Mon, 29 Mar 1999 13:24:10 +0200

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@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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS