Subject: Re: [xsl] XPath expression for checking that an xs:duration value is not negative?|
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sat, 23 Apr 2011 18:31:42 +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)
Michael Kay Saxonica