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

RE: XLink: behavior must go!

Subject: RE: XLink: behavior must go!
From: "Jonathan Borden" <jborden@xxxxxxxxxxxx>
Date: Thu, 13 May 1999 21:55:07 -0400
jonathan borden
Paul Prescod wrote:
>
> Jonathan Borden wrote:
> >
> >     Is there anything within XLink itself that cannot be
> replaced by XSLT
> > now that doc() and docref() have been defined? Does XLink not become
> > something akin to a standard set of XSLT templates used for handling URI
> > traversal? doc() and docref(), as well as unification with XPointer turn
> > XSLT into a generalized graph transformation language. Could
> the XLink spec
> > itself become an XSLT include file?
>
> Yes. I outlined the features that XSL would require in order to allow link
> recognition in the first message. It must be possible to ask the XSL
> processor whether an element is an anchor (not a link), what the other
> anchors are and what the properties of the linking element are. In other
> words the XSL processor must itself be able to recognize and traverse
> links.
>

	Would something like this work?


	<xsl:template name="example">
		<xsl:param-variable name="link-param" />

		<xsl:copy-of
select="doc($link-param/link[@type='x']/@href)/html//a[@name='predicates']"
/>
	</xsl:template>

	<xsl:call-template name="example">
		<xsl:param name="link-param">
			<link @type="x" href="http://www.w3.org/TR/WD-xslt"/>
			<link @type="y" href="..." />
		</xsl:param>
	</xsl:call-template>


Jonathan Borden
http://jabr.ne.mediaone.net



 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.