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

Re: keys and idrefs - XSLT2 request?

Subject: Re: keys and idrefs - XSLT2 request?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 10 Oct 2001 13:00:29 +0100
Re:  keys and idrefs - XSLT2 request?

> So then all you have to worry about is that the stylesheet won't work
> in the same way if the DTD's not available or isn't declared in a
> particular instance document (it's always a slight issue, because of
> default attribute values and id(), but it has much more impact now).

This is in fact one of my main worries about this whole schema-awareness
idea for xpath 2.

using keys in XSLT turns out to be a lot more useful than using id()
not just because they are more general but importantly because a large
part of xslt processing is done with non validating parsers that might
or might not read any DTD.

I'm all in favour of XPath being aware of schema datatypes (lists and
doubles and dates etc) but I'd hate to see XSLT processing requiring
schema processing as a norm, and I hope to see easy ways of casting
things to the datatype (for simple datatypes) from within XSLT (or
XPath) just as xsl:key might be seen as a XSLT generalisation of an ID
attribute declaration in a DTD.

Of course without an XPath 2 draft (Mike, where are you:-) it's all a
bit hard to say. It's also hard to make any sensible comments on the
drafts that are public (like functions and operators) without seeing a
draft of the language in which these functions are supposed to live.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 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.