Subject: Re: [xsl] best boolean practice From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 30 Jul 2013 14:04:18 -0400 |
Just a quickie. I'm writing some code to produce XML which will later be transformed and selected on, and I am wondering what will be the best way to represent boolean values as far as XSL designers are concerned?
value="yes" value="true" value="1"
does it even make a difference at all?
I'm thinking attributes will definitely be more intuitive than elements. Am I right? So this is not quite as good <value>yes</value> (certainly uses up more characters).
-- Public XSLT, XSL-FO, and UBL classes in the Netherlands Oct 2013 | Public XSLT, XSL-FO, UBL and code list classes in Australia Oct 2013 | Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] best boolean practice, Terence Kearns | Thread | Re: [xsl] best boolean practice, Ihe Onwuka |
[xsl] best boolean practice, Terence Kearns | Date | Re: [xsl] best boolean practice, Ihe Onwuka |
Month |