Gunnar Bittersmann: menü mit <div> und css formatiert

Beitrag lesen

Hello out there!

Nachteil bei text/xml: es gibt keine Links, da es so etwas nur in (X)HTML, jedoch nicht in reinen XML-Dokumenten gibt.

Wie kommst’n darauf?

http://www.w3.org/TR/xlink/

<?xml-stylesheet type="text/css" href="#style"?>  
<foo xmlns:xlink="http://www.w3.org/1999/xlink">  
  <style xml:id="style">  
[code lang=css]    foo {  
      display: block;  
    }  
    style {  
      display: none;  
    }  
    bar {  
      display: inline;  
    }

</style>
  <bar xlink:type="simple" xlink:href="http://example.net">quz</bar>
</foo>[/code]

See ya up the road,
Gunnar

--
“Remember, in the end, nobody wins unless everybody wins.” (Bruce Springsteen)