|
Home >Online Product Documentation >Table of Contents >Specifying XML Input Specifying XML InputWhen you create an XQuery scenario, you can optionally specify inputs - XML documents or other sources of XML that set the context for the XPath expressions in your XQuery code. This XML source is referred to as the main input. The main input is a URL for a specific XML document. Specifying a main input is an alternative to using the XQuery doc() function in your XQuery code. When you specify a main input document, expressions like \books\book in your XQuery code are evaluated in the context of that document. You specify XML input on the General tab of the Scenario Properties dialog box.
|