Re: [xsl] xslt readability/maintainability

Subject: Re: [xsl] xslt readability/maintainability
From: "Vitaly B. Rudovich" <mail@xxxxxxxxxxxxx>
Date: Sat, 08 Jun 2002 10:46:37 +0200
> Date: Thu, 6 Jun 2002 08:52:33 -0700
> From: Zack Brown <zbrown@xxxxxxxxxxxxxxx>
> Subject: [xsl] xslt readability/maintainability
> 
> Hi folks,
> 
> I find it difficult to come up with a consistent coding style for XSLT.
> It seems that some form of indentation and line-break decisions would be
> useful, but exactly what rules to follow for maximum readability seem hard
> to determine. Has anyone given serious thought to this problem? I'm in a
> situation where multiple people may start sending me patches for my xslt files
> (and accompanying makefiles), and I want to have some guidelines to give them,
> so the files don't become spaghettified.

IMVHO XSLT was designed not for readability but for parsability. The best way
to understand xslt files is to use tools that can present the content in
a readable form.

Regards!

Vit
-- 
Vit(aly B.) Rudovich          mail@xxxxxxxxxxxxx
    
           http://www.VRudovich.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread