Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Filtering date values with XPath queries >Thread Next - Re: Filtering date values with XPath queries Re: Filtering date values with XPath queriesTo: NULL Date: 5/4/2004 9:10:00 PM number(datum) <= number('01.01.1999')
I guess, but not 100% sure.
"Muhammed Inam" <fwr> wrote in message
news:egbHyjaMEHA.2704@T......
> Hallo,
>
> Suppose I have the following XML data;
> <sgv>
> <detail id="112233">
> <datum>01.01.2000</datum>
> ....
> </detail>
> .........
> </sgv>
>
> What I'd like to do is selecting nodes that meet certain criteria. For
this
> reason, I attempt to use the following command;
>
> myDom.selectSingleNode("//detail[datum >= '01.01.1999']")
>
> However, this code, is returning nothing. How can I force XPath engine to
do
> a date comparison? (if it's possible, at all.) Or, is there any other
> solution to this?
>
> Regards,
>
>
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
