Re: XHTML+RDFa

Lars Bruzelius, Mon, 25 Oct 2010 08:14:06 +0200:
> At 08:57 2010-10-19, Lars Bruzelius <Lars.C.A.Bruzelius@telia.com> wrote:

>> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    [...]
>> </rdf:RDF>

>> <style type="text/css">
>> rdf\:Description {display: none}
>> </style>

> The files have been served locally on a Windows 7 system as:
> html:  text/html
> xhtml: application/xhtml+xml
> xml:   text/xml
> 
> The results are:
> 
>           html     xhtml     xml
> Amaya       -        -        -

I found that 

<style type="text/css">
RDF, RDF * { display:none; }
</style>

in principle works (even in text/html, and even if it shouldn't work - 
apparently Amaya nevertheless sees the namespace): in the moment you 
save the page, then the CSS is applied. But as soon as you reload the 
page, then it doesn't work anymore.

So this:
> <rdf:RDF ... style="display: none">
> 
>           html     xhtml     xml
> Amaya       x        x        x

is the only thing that - sort of - works, when the page is reloaded.
-- 
leif halvard silli

Received on Saturday, 2 April 2011 16:27:26 UTC