[xquery-talk] (no subject)

Manolis Mylonakis mylonos at otenet.gr
Mon Feb 13 12:04:00 PST 2006


Hello fatma 


I use Stylus Studio 6 professional edition

and your query gave me the below results:

<attr-per-path path="bookstore/book/title"/>

<attr-per-path path="bookstore/book/price"/>

<attr-per-path path="bookstore/book/author"/>

good luck











-----Original Message-----
From: talk-bounces at xquery.com [mailto:talk-bounces at xquery.com] On Behalf Of fatma helmy
Sent: Sunday, February 12, 2006 9:40 PM
To: talk at xquery.com
Subject: [xquery-talk] someone who has stylus studio


i got this code , it does not work on stylus studio

xquery but works on other processor , can any one has

stylus studio run it and tell me whether it gives

error or not



let $bookstore :=


    <book >

      <title>seven years in trenton</title>




    <book >

      <title> history of trenton</title>

      <price> 55</price>


    <book >

      <title> trenton today, trenton tomorrow 


      <price> 55</price>

      <author> </author>




for $path in



let $leafs :=


eq $path]


  <attr-per-path path='{$path}'>{

    for $val in distinct-values($leafs)  

    return <value-per-path value='{$val}'

count='{count($leafs[. eq








Do You Yahoo!?

Tired of spam?  Yahoo! Mail has the best spam protection around 



talk at xquery.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xquery.com/pipermail/talk/attachments/20060213/a2667a24/attachment.htm

More information about the talk mailing list