Wednesday, February 25, 2009

XQuery for mashups?

Consider this basic XQuery sample:
for $statement in document(https://www.sample.com/sample.xml)//post
let $comment := $statement/comment
where $statement/postedby = 'userBob'
return <quotebob>{$comment}</quotebob>
Nice, isn't it?

No comments:

Post a Comment