[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Attribute order recommendations

Subject: Re: Attribute order recommendations
From: "Eliot Kimber ekimber@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 25 Aug 2020 14:11:12 -0000
Re:  Attribute order recommendations
For templates I like: mode, match, as (when used), priority (when used)

For parameters: name, as, tunnel, select

I put select last so it's easy to cut and paste <xsl:with-param> to be
<xsl:param> where @select is not retained (and visa-versa).

Cheers,

E.

--
Eliot Kimber
http://contrext.com


o;?On 8/25/20, 5:40 AM, "Graydon graydon@xxxxxxxxx"
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

    On Tue, Aug 25, 2020 at 08:24:02AM -0000, Norman Tovey-Walsh
ndw@xxxxxxxxxx scripsit:
    [snip diverse examples]
    > I guess I do have a strong (subconscious) preference for putting the
    > name and the type on the same line!

    I appear to be the sort of consistency-valuing heathen who turns on
    "sort attributes" in oXygen.

    --
    Graydon Saunders  | graydonish@xxxxxxxxx
    CC&s oferC)ode, C0isses swC! mC&g.
    -- Deor  ("That passed, so may this.")

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.