[xquery-talk] XQuery in mark logic

Florent Georges lists at fgeorges.org
Sun Aug 31 00:46:12 PDT 2008


bharath maharajan wrote:

  Hi

> <books>
>   <book >
>     <information>
>       <name> HF </name>
>       <pages>45</pages>
>     </information>
>   </book>
>   <book>
>     <information>
>       <name>Core</name>
>       <pages>67</pages>
>    </information>
>   </book>
> </books>

> data(doc("book.xml")/books/book/information))

  I wonder what you want to achieve.

  Actually, I always thought that data() on an element that has child
elements was an error.  What would be the semantics of the above
example?

  Regards,

--drkm





















      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr


More information about the talk mailing list