|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] permanent keys (was Re: 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@p...> To: "James Clark" <jjc@j...>; "Tim Bray" <tbray@t...>; <xml-dev@l...> Sent: Monday, October 29, 2001 7:02 PM Subject: Re: 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> > >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








