[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: XLINK support in browsers
Uche Ogbuji wrote:
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.
I still remember the days when CSS was not even created and the web
pages were just plain HTML. This may have become fundamental in the
last 3-4 years which is easy to miss if you are not a web developer.
You really
probably should take my basics tutorial, again at:
http://www-128.ibm.com/developerworks/edu/x-dw-x-xmlcss-i.html
You can probably skip a lot of the slides that go over CSS features, but
you'd get the basics of the XML/CSS mix. Then you could move on to
http://www-128.ibm.com/developerworks/edu/x-dw-x-xmlcss2-i.html
Where I cover linking and other advanced matters (there are examples on
almost every slide)
Sorry to repeat the suggestion, but you *really* seem to need it ;-)
Suggestion noted.
--
Regards,
Razvan
SCJP preparation material:
http://www.mihaiu.name/2004/sun_java_scjp_310_035/index.html
http://www.mihaiu.name/2004/sun_java_scjp_310_035_test1/index.html
http://www.mihaiu.name/2004/sun_java_scjp_310_035_test2/index.html
http://www.mihaiu.name/2004/sun_java_scjp_310_035_test3/index.html
http://www.mihaiu.name/2004/sun_java_scjp_310_035_test4/index.html
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|