[XQZone General] Internal error: St9bad_alloc

Nizamuddin, Rashid rnizamuddin at edmunds.com
Thu Jun 30 11:52:20 PDT 2005


 

I need to generate a result based on the date range here is my query let


 

$assets := cts:search(doc("/assetsdup.xml")/assets/asset,

cts:and-query((

            cts:element-word-query(xs:QName("file-type"), $fileType),

            cts:element-word-query(xs:QName("stage"), $stage),

            cts:element-word-query(xs:QName("published-date"),
$startDate),

            cts:element-word-query(xs:QName($user-id-type), $userId)

            ) )

)

for $asset in $assets

      return <asset> { $asset/file-type } { $asset/stage } {
$asset/file-name }  

</asset>

 

The published-date should be a range, as of now I have only the start
date. Is there a way to give the date range

 

Thanks

Rashid

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20050630/2fa7ae99/attachment.html


More information about the General mailing list