Re: [xsl] stylesheet organisation

Subject: Re: [xsl] stylesheet organisation
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Mon, 5 Sep 2011 19:46:55 +0100
On 5 September 2011 19:19, Graydon <graydon@xxxxxxxxx> wrote:
> On Fri, Sep 02, 2011 at 04:49:36PM +0100, Andrew Welch scripsit:
>> Thanks for your post, just to query one part:
>> > And having multiple smaller files helps collaboration
>>
>> Why do you think mutiple smaller files helps collaboration?
>
> Because that way you have have one small file locked by programmer A in
> the version control system and another small file locked by programmer B
> in the version control system.

Which version control do you use.. is it SourceSafe?  :)   No vcs
locks files any more...


> XSLT is not all that good at being used in large, multi-programmer
> projects;

That's just not true, there's nothing different or special about xslt
than any other language used in a large project.


> there's little-to-no automerge support for version control,

Again not true... what makes you say that?


> and various processors throw warnings at you if you have a file included
> in more than one place (as you want to do if you're defining a bunch of
> utility functions in a big mass of XSLT code.)

Can you post an example?


> But having things being
> broken out into smaller files on some logical grounds -- semantic
> groupings of target elements, say -- certainly helps.

Agreed.


-- 
Andrew Welch
http://andrewjwelch.com

Current Thread