OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

permanent keys (was Re: [xml-dev] Re: determining ID-ness in XML)



Speaking of this, I was a bit disappointed that
XML Schema keys were not designed to be attached to
the XML document a la permanent xsl:key-s .

They could be referenced in XPath expressions
and re-used in recurrent XSLT transformations
of the same XML Document
This would be very useful for example, when only
global XSLT parameters change whereas input XML document and
XSLT documents stay the same.
Thus XSLT processor would not have to rebuild key maps every time.

Am I missing something here?

--Nikita.

----- Original Message -----
From: "David Brownell" <david-b@pacbell.net>
To: "James Clark" <jjc@jclark.com>; "Tim Bray" <tbray@textuality.com>;
<xml-dev@lists.xml.org>
Sent: Monday, October 29, 2001 7:02 PM
Subject: Re: [xml-dev] Re: determining ID-ness in XML


> > An alternative would be to have an attribute that declares the name of
the
> > attribute that is an ID attribute, say xml:idatt. To make this useable,
> > xml:idatt would be inherited.
>
> Good idea -- so long as there's a sibling "xml:idatts", so that multiple
> attributes can be defined as defining IDs.  I really do not like the
> arbitrary restriction that elements may not have IDs defined for more
> than one purpose.
>
> - Dave
>
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
>