Subject: Re: [xsl] position last and attributes From: "John P. McCaskey" <groups@xxxxxxxxxxxxxxxx> Date: Thu, 20 Sep 2012 14:16:44 -0400 |
At 2012-09-20 13:08 -0400, John P. McCaskey wrote:An example right now is a stylesheet that renders TEI documents in a browser. The attributes of an element are listed in two places, displayed differently. I'd prefer they get displayed in the same order in both places.Though not required to by spec, in practice do the major XSL processors treat attributes in document order, alphabetical order, or any other repeated order?
When writing XSL, I sometimes need to jump through hoops that could be avoided if I knew the processor would treat the attributes in the same order every time. If I knew what that order is, all the better.
My code might not work on a different XSLT processor or be guaranteed to work with different revs, but often that's OK.
Could you characterize where in your algorithms you find the order of nodes along the attribute axis important or useful?
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] position last and attribu, G. Ken Holman | Thread | Re: [xsl] position last and attribu, G. Ken Holman |
Re: [xsl] position last and attribu, G. Ken Holman | Date | Re: [xsl] position last and attribu, David Carlisle |
Month |