XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
neo kSubject: xquery syntax
Author: neo k
Date: 15 Aug 2008 03:48 PM
Hi All,
I write xqueries which has to be run on Mark logic database. I find the syntax rules little different when i use stylus studio 2008 and mark logic CQ tool for writing my queries.

ML way of defining a function is

define function test($s as xs:string) as element()*{


where as stylus says it has to be

declare function local:test($s as xs:string) as element()*{


Is there a way for me to work using the same syntax for both stylus and ML.


Minollo I.Subject: xquery syntax
Author: Minollo I.
Date: 15 Aug 2008 03:58 PM
Stylus Studio supports the XQuery 1.0 syntax, as specified by the W3C XQuery 1.0 Recommendation: http://www.w3.org/TR/xquery/#FunctionDeclns

Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.