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

Re: SkunkLink: a skunkworks XML linking proposal


xml href
On Tue, Jan 07, 2003 at 12:54:54PM -0000, Michael Kay wrote:
> An example of a relationship between two documents is:
> 
> <xsl:include href="library.xsl"/>
> 
> This has semantic meaning defined by the XSLT specification. It has no
> implied user interface behavior suggesting what should happen when
> people view stylesheets on-screen.

Yes.  The tag is necessary to understand the context of the link.
That's why XSLT has both <xsl:import/> and <xsl:include/>.

I think you're getting a little too hung up on the idea that a
SkunkLink xml:href necessarily has a user interface behavior.
Google's search bots have no user interface in the conventional
sense, yet <a href=""/> style hyperlinks have a well defined behavior
within their bots.  Simple hyperlinks as specified by xml:href do
not have an implied UI behavior; they have an implied *relationship*.

And <xsl:include/> is a perfect example why SkunkLink is necessary.
The kind of linking performed by <xsl:include/> and <xsl:import/>
are more similar to embedding, like xml:src and <img src=""/>.  Yet the
link attribute is called "href", even though the behavior is most 
emphatically *not* like <a href=""/> or xml:href.  

It would be easier on all parties is a SkunkLink attribute were
used in this situation: <xsl:import xml:src=''/> and <xsl:include
xml:src=''/>.  The tag name would provide the semantic context (arc
role if you absolutely must), and the attribute would use the same
vocabulary used elsewhere to provide the type of linking to perform
("embedding").  The XSLT language definition would specifiy that
xml:src is required on these two elements, and both xml:href and
xml:src is ignored everywhere else in the vocabulary.  Problem solved.

Z.


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.