Folks,
Understanding XSLT as quick as possible is important. This blog post with the
motto "Spare the maintainer" impressed me some years ago:
https://blog.xml.rocks/xslt-naming-conventions/
<https://blog.xml.rocks/xslt-naming-conventions/>
But what about attribute order conventions?
I started putting the typing attribute as="…" at the end of e.g. xsl:variable,
xsl:function or xsl:param.
But then I meet tunnel="yes", shall I put it before as="…" or at the very end,
to make it more obvious to the casual observer?
Also, in a recent post by Graydon Saunders I notice as="…" as the very first
attribute on every xsl:variable, even before name="…" which also makes sense to
me somehow.
Have I missed some insightful source/post, or can we discuss the benefits of
attribute order conventions?
- Michael Müller-Hillebrand
--~----------------------------------------------------------------
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
--~--