> What is wrong with this function? > > xquery version '1.0-ml'; > declare namespace xh='http://www.w3.org/1999/xhtml'; > let $html := xdmp:tidy(xdmp:http-get('http://blogs.avalonconsult.com/)[2])[2] > for $post in $html//xh:d...@class='post'] > local:getblogs(fn:string($post//xh:h...@class='storytitle']//xh:a/@href)) > return
Simple typo. You need to put the "return" word before the thing to return. -jh-
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
