Xlink - How to use xlink in every browser ?

Hello,
I must develop a site in pure XML.
I carried out my first pages and I encountered some problems to create links between the pages. I used Xlink for my links, the simple version (http://www.w3.org/TR/xlink/).
The links function correctly under Firefox 1.5, but impossible to make them function with Internet Explorer 6 or Opera 9.
As that did not function for these navigators, I tried to implement another recommendation of the W3C, events XML (http://www.w3.org/TR/xml-events/).
But here still, I did not succeed in obtaining functional links.
The code is not interpreted as it should in Javascript.

Here the code which I used:

example.xml
< xml version="1.0" encoding="ISO-8859-1" >

< xml-stylesheet href="example.css" type="text/css" >

<page>

<text>this is a test:

<link xmlns:xlink="http://www.w3.org/1999/xlink"

xlink:type="simple"

xlink:title="my link"

xlink:show="new"

xlink:href="http://www.google.com">

this is a link.

</link>

</text>

</page>


And

example.css

* {

display : block ;

}

page {

margin: 8px;

font-family: arial;

color: black;

}

link {

display: inline;

color: red;

cursor: pointer ;

}


Would you have an idea how to carry out links while remaining in XML only, i.e. without using XSLT
And especially, links XML which function with Internet Explorer

Thank you in advance


Answer this question

Xlink - How to use xlink in every browser ?

  • Andre&amp;#39;s

    IE doesn't support XLink. What's wrong with using XSLT

  • dnyandeo

    Thank you for the answers,

    My project is to develop a website only in XML, to evaluate possibilities of interaction with forms XFORMS filled by a secretariat.
    I use XMLHttpRequest to request the files.
    If I do not find any possibility, I will use XSLT, or then I will develop 2 versions of the site.
    But XLINK seemed to me really adapted to my project...

    Thank you

  • riemerg

    That's interesting. I've never heard of any XLink support in IE6. Could you share some details please

  • Christian Schweizer

    There is some XLink support in Mozilla 0.98+, Netscape 6.02+, Firefox, but not Internet Explorer. Earlier versions of all of these browsers have no XLink support at all!

     

    My recommendation is to stick with the normal anchor links(<a>) instead of XLink.



  • Xlink - How to use xlink in every browser ?