Re: [xsl] XPath expression for checking that an xs:duration value is not negative?

Subject: Re: [xsl] XPath expression for checking that an xs:duration value is not negative?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 23 Apr 2011 18:11:55 +0100
On 23/04/2011 15:49, Brandon Ibach wrote:
 wouldn't it be sufficient to just
check for the leading minus sign?

yes thought about that afterwords, although hadn't checked if multiple - were allowed. You might need to remove white space first eg with normalize-space)


David

Current Thread