On Mon, 2005-04-04 at 11:46 +0300, Razvan MIHAIU wrote:
You need to define style so Mozilla knows how to render it. At least,
that is how it works now. It might be worth submitting a bug report
about styling documents using attributes from the XLink namespace by
default.
You are speaking about an XSLT stylesheet ?
In this case you must have at least a template matching the root
element. That template should at least contain:
<xsl:apply-templates />
To my understanding this is the bare minimum. From there the default
templates will be applied, so the content of elements should be
displayed. But if this is true then the content of my XLinkTest1 element
will be displayed - the element will not be copied on the output as it
is. That means that the result of this transformation will not contain
any xlink code ! The result is that this should not work, but it does!!
I do not understand.
Perhaps somebody can explain what the effect of an empty style sheet
declaration is.
2. what "magic" is done by your empty style sheet declaration ? I
mean you don't even define a type for your style-sheet - like
"text/xsl";
I guess the renderer assumes that I want some sort of style.
Are we speaking about the same thing ? I am referring to XSLT style
sheets. When you say "style" you could very well mean CSS. Perhaps there
is some default CSS applied ! Hmm...
I really didn't think it would have been possible for you to introduce
more confusion into the conversation, but you've succeeded. Yes, CSS.
XSLT has nothing to do with it. And the idea of a "default" CSS
rendering is fundamental to the idea of browser styling.
It is not my intention to introduce confusion.