Re: [xsl] dangling attribute creation (was Re: [xsl] When to use text())

Subject: Re: [xsl] dangling attribute creation (was Re: [xsl] When to use text())
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxx>
Date: Sun, 27 Apr 2014 06:24:28 +0100
On Sun, Apr 27, 2014 at 1:43 AM, David Carlisle <davidc@xxxxxxxxx> wrote:
> On 26/04/2014 19:26, Ihe Onwuka wrote:
>> A rationale for the disapproving dangling attributes was given. See below.
> but as Michael said, that rationale applies much less to a template
> an attribute. As the default behaviour is that you will apply templates to
> attributes before elements.

Supposed to be a link to Sal Mangano's Cookbook. Recipe 8.2 How else
are you supposed to convert elements to attributes?

Regarding risk - I'll repeat what I said at the time.

It's a trade-off and when considering which evil you elect for you do
a little risk analysis.

What is the likelihood of events that would lead to an exception
occurring, how calamitous would it be if it did occur, how hard and
costly and time consuming is it to implement and roll out the fix.

Also if you are  am not doing big object oriented software engineering
 you don't have to live by that  bible.</quote>

Current Thread