Re: [xsl] stylesheet organisation

Subject: Re: [xsl] stylesheet organisation
From: Graydon <graydon@xxxxxxxxx>
Date: Mon, 5 Sep 2011 14:19:01 -0400
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.

XSLT is not all that good at being used in large, multi-programmer
projects; there's little-to-no automerge support for version control,
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.)  But having things being
broken out into smaller files on some logical grounds -- semantic
groupings of target elements, say -- certainly helps.

-- Graydon

Current Thread