W3C home > Mailing lists > Public > www-html@w3.org > June 1999

Who would learn enouh to tell better right methods!

From: Tapio Markula <tapio1@gamma.nic.fi>
Date: Fri, 11 Jun 1999 15:57:43 -0400 (EDT)
Message-Id: <>
To: www-html@w3.org
Tim Bray gave  this example:
<h:html xmlns:xdc="http://www.xml.com/books"
 <h:head><h:title>Book Review</h:title></h:head>
   <xdc:title h:style="font-family: sans-serif;">
     XML: A Primer</xdc:title>

then this:
<html xmlns="http://www.w3.org/HTML/1998/html4"
 <head><title>Book Review</title></head>
   <xdc:title>XML: A Primer</xdc:title>
    <tr align="center">
    <tr align="left">
     <td><xdc:author>Simon St. Laurent</xdc:author></td>

BUT you don't explain how to define to the latter CSS definitions!

IE allows to use this style:
<xdc:title style="font-family: sans-serif;">

I tested
<!doctype html public "-//W3C//DTD XHTML 1.0 Transitional//EN"
<?xml version="1.0"?>
<?xml-stylesheet href="xml-sheet.css" type="text/css" ?>
<html xmlns="http://www.w3.org/TR/xhtml1"

DTD was defined all new elemets

<author:container class="author2">
<author:nameclass="author">Tapio Markula</author:name></author:container>

BUT in this case IE 5.0 can't find css to 
this: <author:container class="author2"> from xml-sheet.css but it used
definition, which I made to

<link rel="STYLESHEET" type="text/css" href="sivusto2.css">

According to a worker of Mozilla this is illegal
<author:container class="author2">

But you and any don't tell, which is then the right method! Who would learn
enouh to tell better right methods!

Tapio Markula
http://www.nic.fi/~tapio1/index_lahtotaso.html (Finnish)
kokeile http://gamma.nic.fi... jos edelliset eivšt toimi
Received on Monday, 14 June 1999 05:31:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:50 UTC