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

Re: XLink support in XSL

Subject: Re: XLink support in XSL
From: "Simon St.Laurent" <simonstl@xxxxxxxxxxxx>
Date: Fri, 18 Dec 1998 12:37:54 -0500
xsl link
At 03:10 PM 12/18/98 +0000, Richard Light wrote (on the XSL list):
>I've just had a quick read through the new XSL draft, and I'm puzzled as
>to how it is going to support XLink.  (Maybe it isn't!)

This is an enormous issue, one that's come up several times on the
XLink/XPointer discussion list as well.  (Information on how to subscribe,
for those interested, is at the bottom of the page at
http://collie.fujitsu.com/hybrick/.)

>The XLink "Show" axis supports the concept of links whose target should
>either be embedded into the resource from which the link is made
>("embed"), replace it ("replace"), or be displayed in a new context
>("new").  
>
>To support "embed", we need the ability to traverse an XLink and treat
>the target (typically in another document) as a processible object.
>This means a resounding "yes" to the editorial query in the XSL draft
>"Should it be possible to select elements in other XML documents?".

Actually, it's worse than this.  A contingent on the XLink/XPointer list
wants XSL (or another style sheet-like mechanism) to actually determine
which traverses are possible, thereby handing the task of 'resolving' links
to the application.  This makes the 'yes' far more resounding - it also
requires XSL (or some other mechanism) to develop rules for handling style
sheets that operate between contexts.

>The "replace" behaviour can be seen to correspond to clearing the
>current window and displaying the target of the link in its place; "new"
>can be thought of as an instruction to open a separate window.  Surely
>we need a property that encapsulates this distinction so that browsers
>know which thing to do?

Agreed, strongly.

>Beyond this basic functionality, it would be exceptionally cool if the
>XPointer syntax could be picked up from an attribute and correctly
>interpreted by an XSL processor.

Also, as discussed on the XLink/XPointer list, XSL transformations need to
be able to preserve linking information.  

>In general I don't quite understand XSL's link-related flow objects, and
>would appreciate some gentle tuition.  We have an inline-link and a
>display-link, each with a Destination property: no problem there.  But
>then we come to link-end-locator which "represents a target for link".  
>
>Do link-end-locators go inside inline-links and display-links?  If so,
>isn't the Destination property redundant, since link-end-locator has
>both HREF and ID[REF] properties?
>
>And where is the merge-link-end-indicators property meant to live?

Clarification on these issues would be helpful as well.

Simon St.Laurent
XML: A Primer / Cookies
Sharing Bandwidth 
Building XML Applications (February)
http://www.simonstl.com


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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