xsl-list
[Top] [All Lists]

Re: [xsl] single quotes instead of double

2011-11-22 03:47:07
Well its the same everywhere. For coding in p.e. Eclipse you can add
some style rules to the editor to enforce layout and the likes. You
could define something like that for xsl, and have an editor that
supports it and have everybody use that editor, ....

But most important is maintainability. If that is secured, there
should be no problem.

Michel

On Mon, Nov 21, 2011 at 7:19 PM,  <dvint(_at_)dvint(_dot_)com> wrote:
But what you call a standard is just a convention. My convention works for
me but might not agree with yours. So the style is relavent to the group
you work with and relative to them. Might be nice to have a universal
style, but I think you will not find agreement across all the company
standards and personal styles.

..dan


Different companies have different stanards, sometimes
they agree with my approach, sometimes they don't.

If you know any existing XSLT coding standards, please post them (in a
new thread), I'm genuinely trying to create a style guide.


Spaces or tabs is only
a problem if you have 2 people doing 2 different things or you like to
set
your tabs at a different spacing, doesn't make one right or wrong.

Yep, the purpose is to avoid 2 people doing 2 different things, its
all about consistency, not really about right and wrong.

You have to indent your code somehow, so using 4 spaces is a fairly common
way.



--
Andrew Welch
http://andrewjwelch.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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