[xquery-talk] XQuery in mark logic

bharath maharajan bharath.ilugc at gmail.com
Fri Aug 22 15:11:29 PDT 2008


Hi All,
I am facing some issue in XQuery with Marklogic database.

In the below example,

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

When i try,
data(doc("book.xml")/books/book/information))

the output in StylusStudio is
HF 45 Core 67868

which is something i expected. But when i try the same in Marklogic database
I get it in

HF45Core67868

how can i modify my query to get the output like

HF 45 Core 67868

Thanks in advance,
Bharath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://x-query.com/pipermail/talk/attachments/20080822/39ca2c88/attachment.htm


More information about the talk mailing list