Hi Anil,

I would image you would want your let statement above the return so it would 
look something like this:



       let $searchRes := cts:search($lines, cts:word-query("with flowers"))

       return (

           if ( $searchRes ) then (

               <h3>{ $speaker/text() }</h3>,

               <p>{ $searchRes }</p>

           )

           else

           ()

       )
Hope that helps,

Ryan


 NOTICE: This email message is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information. Any unauthorized 
review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email and destroy all 
copies of the original message.


_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to