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

Re: XLINK support in browsers


xlink style sheet
Uche Ogbuji wrote:
You need to declare some styles obviously. (Although you could make
this 
work by adding <?xml-stylesheet?> right after the XML Declaration. 

      
    Indeed it is working. I have a couple of questions:

1. why do I need to add a style sheet ? I just want to have 2 XML
documents and to establish a link between them. That is all.
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 think this is probably why Anne lost patience with you.  You can't
decide whether you're a newbie or all-knowing on the topic.  Maybe there
are two of you?  ;-)
  
    By all means: I am a newbie.

You don't need a stylesheet to *express* links.  You need one to
*display* links.  
    I understand that. I was thinking from the begging to XSLT when the style in question was CSS.

You yourself brought up the stylesheet requirement by
insisting on seeing the links in all their glory, rather than contenting
yourself to believe that FF/Mozilla understands the link semantics with
or without a stylesheet (they do).
  
    I managed to see the simple xlinks in action in Amaya without applying any stylesheet. This is why I did not understood why a stylesheet is required. The fact is, I still do not have an answer now, but I will check your articles on the subject. If it will be necessary I will ask questions after gaining more knowledge on the issue.

Never mind the fact that an "empty" stylesheet works.  It's just a
quirk.  Mozilla has unfortunately a lot of Internet cruft to carry on
its shoulders and thus the algorithms on how to display things,
especially in the XML realm, can seem arbitrary if you don't follow the
whole sordid history.
  
    I can accept a quirk, but it’s unacceptable to learn something without understanding the issue in question. I hope that your articles provide an answer to this 'quirk'.

BTW, I cover linking display in XML in part 2 of my XML/CSS tutorial:

http://www-128.ibm.com/developerworks/edu/x-dw-x-xmlcss2-i.html

I think I show some neat things you can do in browsers, and FF in
particular.

Interested readers should start with part 1 if they're not familiar with
XML/CSS basics:

http://www-128.ibm.com/developerworks/edu/x-dw-x-xmlcss-i.html
  
    Be sure that I will read your articles ASAP.

-- 
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!

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.