Reputation: 23666
With XSL 2.0, what's the best way to convert a string value ('true' or 'false') into a boolean variable?
Upvotes: 0
Views: 2609
Reputation: 28618
xs:boolean constructor function, e.g. xs:boolean('true')
xs:boolean('true')
Upvotes: 3