xsl-list
[Top] [All Lists]

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

2014-04-26 12:57:04
On Sat, Apr 26, 2014 at 6:46 PM, Wolfgang Laun 
<wolfgang(_dot_)laun(_at_)gmail(_dot_)com> 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".

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