Subject: Re: [xsl] best boolean practice From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx> Date: Tue, 30 Jul 2013 21:48:35 +0200 |
On 30/07/2013, Ihe Onwuka <ihe.onwuka@xxxxxxxxx> wrote: > My personal preference is to use the presence or absence of an empty > element e.g <isMasked/>. > > That way you don't have to worry about what to do if someone gives the > node a value of "widget" when it is supposed to be boolean. However: an absent element could have been omitted by accident. I dislike attributing a (potentially important) meaning to data that isn't tangible. -W
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] best boolean practice, Ihe Onwuka | Thread | Re: [xsl] best boolean practice, Ihe Onwuka |
Re: [xsl] best boolean practice, Ihe Onwuka | Date | Re: [xsl] Normalizing space / XPTY0, Syd Bauman |
Month |