xsl-list
[Top] [All Lists]

Re: [xsl] Attribute order recommendations

2020-08-25 04:48:03
On 25/08/2020 09:15, Michael Kay mike(_at_)saxonica(_dot_)com wrote:
[...]
I think my instinct with attributes is to put them in order of rarity: the most common attributes first, then the less common ones.

I would do much the same, except that if there is an xml:id (or any attribute of type ID) I always out that first, because it tends to have been specified for a reason.

P
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>