Hello,
I am trying to detect if the visiting browser is capable of rendering
XUL (that is, if it is one of Mozilla, Firefox, Galeon etc.).
In case it is capable of XUL rendering, I want to serve a XUL, otherwise
HTML but I can't get the BrowserSelector to do that.
I'm using this construct:
<map:match pattern="**-redirect.html">
<map:select type="browser">
<map:when test="netscape">
<map:redirect-to uri="../{1}-cadru.xul"/>
</map:when>
<map:otherwise>
<map:redirect-to uri="../{1}-cadru.html"/>
</map:otherwise>
</map:select>
</map:match>
The effect of this code is that both Mozilla AND IE gets the XUL. If I
replace test="netscape" by test="mozilla", both Mozilla AND IE get the HTML.
Anybody could guide me, please?
Thanks,
Adrian.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]