Stylus Studio / Mark Logic Integration
This mini tutorial is courtesy of Stylus Studio as a quick introduction to the new Mark Logic integration tools in Stylus Studio 6. -Ed
Mark Logic XQuery Tools
Stylus Studio | January 2005
Stylus Studio 6 XML Professional Edition, Release 2 XQuery tools features powerful integrated development tools support for building advanced XQuery-based content management applications using Mark Logic's XML Content Server.
Editing Support for Mark Logic's Built-in XQuery Functions
Stylus Studio's XQuery Editor recognizes built-in XQuery functions and extenstions, providing intelligent XQuery editing support as you type. In the illustration below, the Mark Logic XQuery functions are prefixed under the 'xdmp' XML namespace.

Support for Mark Logic XQuery Function Prototypes
Additionally, Stylus Studio's XQuery Editor recognizes built-in Mark Logic XQuery function prototypes (method signatures) offering intuitive context sensitive XQuery code sensing and auto-completion, further simplifying XQuery development as illustrated here:

Access MarkLogic Server in Stylus Studio
Stylus Studio is a great tool for working with XML content stored in a MarkLogic Server's database. Using WebDAV (Web Based Distributed Authoring and Versioning) support in both Stylus Studio and MarkLogic Server, you can easily connect to a server, and load XML content into Stylus Studio as though it were a file on the local file system. You can create and edit files using Stylus Studio's various XML editors and tools, then when you click on the save button, the work is seamlessly written back to the MarkLogic Server. The following illustration shows specifying connection properties to access the MarkLogic Server directly from within Stylus Studio's File -> Open Dialog Window. Once you've opened an XML document from the MarkLogic Server, Stylus Studio's XQuery editor introspects the shape of the XML document and provides a visual XML tree representation in the XQuery source tree window.

Support for Mark Logic's XQuery Processor in Stylus Studio's XQuery Editor
Stylus Studio's extensible XQuery architecture allows for support for Mark Logic's XQuery processor. To override use of the default built-in XQuery processor, simply open the XQuery scenario properties window, and click on the Mark Logic XQuery Processor option (illustrated below). Error reporting from Mark Logic's XQuery processor are reported to Stylus Studio which highlights the offending line of code, furthermore using Stylus Studio Back-mapping and integrated XQuery ouput preview window, you can visually see which line of XQuery code produced each line of XML output. This feature enables Mark Logic customers to have consistent results in their development and production environments, and provides a productive development environment for executing live XQuery expressions against a MarkLogic Server repository.

The integration of Stylus Studio and MarkLogic Server gives developers the tools to query, analyze, validate and transform XML content regardless of size. Combined, the leading XQuery Content repository and Stylus and industry leading XQuery tools, to provide a highly productive and scalable solution for XML content management applications.
You can download a free, 30 day trial of Stylus Studio 6 XML Professional Edition with integrated support for MarkLogic Server.