使用SAXON在c#中进行Xquery Xpath日期计算 [英] Xquery Xpath Date Calculation in c# Using SAXON

查看:117
本文介绍了使用SAXON在c#中进行Xquery Xpath日期计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望从下面输出Expiration

xs:date($ refPeriodEndDate)-xs:dayTimeDuration('P14D')

i希望将日期作为参数传递并获得输出到期。



i使用了Saxon.Api但收到错误 - 无效日期xs:date($ refPeriodEndDate)-xs:... (年份少于四位数)



如果任何人使用Saxon并具有计算它的任何功能。帮助我..

i want output from below Expiration
xs:date($refPeriodEndDate)-xs:dayTimeDuration('P14D')
i want to pass date as parameter and get output of Expiration.

i have used "Saxon.Api" but got error - Invalid date "xs:date($refPeriodEndDate)-xs:..." (Year is less than four digits)

if any one used Saxon and have any function to Calculation it. help me..

推荐答案

refPeriodEndDate)-xs:dayTimeDuration('P14D')

i希望将日期作为参数传递并获取输出到期。



i使用了Saxon.Api但收到错误 - 无效日期xs:date(
refPeriodEndDate)-xs:dayTimeDuration('P14D')
i want to pass date as parameter and get output of Expiration.

i have used "Saxon.Api" but got error - Invalid date "xs:date(


refPeriodEndDate)-xs:...(年份少于四位数)



如果任何人使用Saxon并具有计算它的任何功能。帮助我..
refPeriodEndDate)-xs:..." (Year is less than four digits)

if any one used Saxon and have any function to Calculation it. help me..


这篇关于使用SAXON在c#中进行Xquery Xpath日期计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆