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: Sat, 26 Apr 2014 18:56:49 +0100
On Sat, Apr 26, 2014 at 6:46 PM, Wolfgang Laun <wolfgang.laun@xxxxxxxxx> wrote:
> A function to extract the subtitle with judicious use of
> substring-before and substring-after shouldn't be too difficicult. But
> what's the point you are trying to make?
>

Would that not also entail a dangling attribute?

As to the point. We were told at the start of the thread that dangling
attributes are an anti-pattern and a bad idea.

Is the alternative not to recreate the content model so that you can
embed the attribute and not leave it "dangling".

Current Thread