Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Web Development

Review: Create Powerful XML Solutions Without Coding


DataDirect Technologies' Stylus Studio 2007 XML Enterprise Suite comes with two new tools -- XML Pipeline and XML Publisher -- that help developers create powerful XML solutions without coding.

The new XML pipeline is essentially a chain of XML operations that control data transformations of XML and non-XML data. XML pipelining seems to be the counterpart to SQL stored procedures.

Unlike procedures that use code to process data flows, Stylus Studio uses graphical map diagrams to elegantly control many data sources using validations and conditions based on XML Schemas, XSLT and XQuery. Stylus uses six graphical icons to describe XML piping between nodes and ports. Like process flows, pipeline outputs can be diverted to multiple sources and can be stopped if necessary. Stylus provides an additional pipeline step called XSL-FO using XQuery that can transform XML documents into a PDF output.

Undoubtedly, XQuery is the most powerful operation used in the new Stylus XML pipelines. Perhaps the easiest way to build XQueries is by using the Stylus Mapper, which combines source and target documents graphically. Mapper also can use XSD or DTD to build XQueries as long as XML documents are collected by the tool. XSD or DTD sources are used to generate XPath document functions in XQuery code.

Once an XML document is uploaded, Mapper provides all document details, including connections between source elements and Schemas. In addition to linking source and target elements, developers also can add source document nodes as child elements or by copying entire nodes into target structures. Mapper can help create new structures by simply connecting source and target elements with FLOWR (For, Flow, Where, Order, Return) operations.

FLOWR operations are the most powerful and direct procedures for building new structures from source documents. Like SQL Select statements, FLOWR expressions can massage multiple XML nodes into uniformed output structures. Developers also can enforce data types in FLOWR outputs to detect errors when linking nodes.

In addition, Stylus Studio provides some extensions such as Distinct, which are not well defined by the standards committee. Many of these non-standard functions are increasingly important because they cover many SQL functions that are not addressed by the W3C.

Besides FLOWR, Mapper provides conditional statements and special XQuery functions to access external data sources. For instance, the XQuery collection function can process data from relational databases as if it were XML documents inside Stylus Studio. XQuery also embeds Web service calls.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.