xsl-list
[Top] [All Lists]

RE: [xsl] stylesheet organisation

2011-09-06 07:25:19
Hi

I work for Tesco.com. We make extensive use of XSLT on all our websites, some 
of them are extremely large projects.

David

-----Original Message-----
From: graydon(_at_)marost(_dot_)ca [mailto:graydon(_at_)marost(_dot_)ca]
Sent: 05 September 2011 19:19
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] stylesheet organisation

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

--~------------------------------------------------------------------
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>
--~--


This is a confidential email. Tesco may monitor and record all emails. The 
views expressed in this email are those of the sender and not Tesco.

Tesco Stores Limited
Company Number: 519500
Registered in England
Registered Office: Tesco House, Delamare Road, Cheshunt, Hertfordshire EN8 9SL
VAT Registration Number: GB 220 4302 31

--~------------------------------------------------------------------
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>