[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XLINK support in browsers


xlink browser support
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.  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 ;-)


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Use CSS to display XML, part 2 - http://www-128.ibm.com/developerworks/edu/x-dw-x-xmlcss2-i.html
Writing and Reading XML with XIST - http://www.xml.com/pub/a/2005/03/16/py-xml.html
Use XSLT to prepare XML for import into OpenOffice Calc - http://www.ibm.com/developerworks/xml/library/x-oocalc/
Be humble, not imperial (in design) - http://www.adtmag.com/article.asp?id=10286
State of the art in XML modeling - http://www.ibm.com/developerworks/xml/library/x-think30.html


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
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.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.