zer0stimulus
zer0stimulus

Reputation: 23666

XSLT: How to convert string value into boolean variable?

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

Answers (1)

Max Toro
Max Toro

Reputation: 28618

xs:boolean constructor function, e.g. xs:boolean('true')

Upvotes: 3

Related Questions