|
Home >Online Product Documentation >Table of Contents >Your First XQueries Your First XQueriesTry a few simple examples to get acquainted with XQuery. Start Stylus Studio, and open a new XQuery (File > New > XQuery File). Save the file now (if you do not, Stylus Studio will prompt you to save it when you preview your first XQuery). Type the following in the XQuery Editor:
Now, click the Preview Result button (
Enter a simple equation (
Finally, try the XQuery function
Your results, will vary based on several conditions. For example, the XQuery processor you use to execute the XQuery will affect the precision of the time value (fractions of seconds), and the time zone (here, shown as
None of these is a very useful query on its own, but within a query language you need to be able to perform little calculations and XQuery has this covered. Further, XQuery is designed so that expressions can be fully nested - that is, any expression can be used within any other expression, provided that it delivers a value of the right type - and this means that expressions that are primarily intended for selecting data within a |
Database-to-XML Mapping
Stylus Studio features several database-to-XML mapping tools that allow you to easily query a relational database using SQL/XML or SQL and render the results as XML. Stylus Studio also supports the world's first and only visual SQL/XML Editor!
Using XSLT Templates
Using XSLT Templates is an online video demonstration of the Stylus Studio XSLT designer. See just how easy it is to create, apply and match XSLT templates to your XML data to create beautiful HTML layouts for XML content publishing applications.
Retail Companies That Use Stylus Studio
Stores and XML data can get very crowded. That's why retail companies use Stylus Studio to simplify their data. With the power of Stylus Studio these top retail companies are at the front of the line when it comes to XML!
Convert CSV to XML
Convert CSV to XML with a handy CSV to XML document wizard that helps you extract data from your CSV files with ease.


