Re: [xsl] Best practice for typing?

Subject: Re: [xsl] Best practice for typing?
From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 24 Nov 2019 08:18:53 -0000
On Sat, 2019-11-23 at 01:44 +0000, David Birnbaum djbpitt@xxxxxxxxx
wrote:
> 
> Is there a consensus about best practice with respect to possibly
> redundant
> typing? For example, we can specify a type using @as on corresponding
> <xsl:param> and <xsl:with-param> elements, but if the type is
> specified on
> <xsl:param>, it seems as if that might make it redundant also to
> specify it
> on <xsl:with-param>, 

Something not i think mentioned by others -

It helps to make your stylesheet resilient to change. Of course, it may
also increase the effort of making such changes, but the things you
need to change would in any case need review.

Liam

-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations:  http://www.fromoldbooks.org

Current Thread