|
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 15:39:28 +0100 |
Hi Folks,
What XPath expression will tell me if the xs:duration value in this element is not negative:
<duration>_______</duration>
/Roger
XSL F&O says: ..... Note that no ordering relation is defined on xs:duration values...
so you'll need to cast to a type that does have an ordering relation either xs:yearMonthDuration or xs:dayTimeDuration so something like
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] XPath expression for checking, Costello, Roger L. | Thread | Re: [xsl] XPath expression for chec, Brandon Ibach |
| [xsl] XPath expression for checking, Costello, Roger L. | Date | Re: [xsl] XPath expression for chec, Brandon Ibach |
| Month |