Creating an XQuery Scenario

An XQuery scenario is a group of settings that you can associate with an XQuery. Stylus Studio uses scenario settings each time you preview the XQuery result. For example, if you specify an XML source document as a scenario setting, Stylus Studio runs the XQuery against that document when you click the Preview Result button ( ).

You can create multiple scenarios that use the same XQuery, and choose different settings for each. This flexibility can aid the XQuery development process as it enables you to easily test different applications of the XQuery before you put it online.

This section covers the following topics:

 
Free Stylus Studio XML Training: