|
Home > Online Product Documentation > Table of Contents > Source Documents and XML Instances Source Documents and XML InstancesAs described previously, Stylus Studio uses the source documents you specify to display a structure you can use to create mappings to the target structure. In addition to the document structure, Stylus Studio needs document content information in order to compose a correct XSLT stylesheet. You provide this information by associating a XML instance to each source document you specify. Types of associationsSource documents can have one of three associations, each of which has implications for the XPath expressions written by Stylus Studio, which uses these documents when it composes the XSLT stylesheet. A source document can be associated with
By default, Stylus Studio uses the first XML document you add to the XSLT mapper as the source XML for the XSLT scenario, as shown here: The document specified in the Source XML URL field on the Scenario Properties dialog box is the document to which the XSLT is applied when you preview the XSLT. You can select this association for another XML document if you choose, but only one source document may have this association.
Source document iconsStylus Studio uses different document icons to indicate how a source document structure is related to corresponding XML document content.
How to change a source document associationTo change a source document association:
1. Click the
Mapper tab if necessary.
2. Right click the source document whose association you want to change.
The source document shortcut menu appears.
3. Click
Associate With, and then select the document you want to associate with the source document.
|
XML Applications
XML Applications are software applications that process data using standard XML technologies like XML, XML Schema, XSLT and XQuery. Using Stylus Studio XML Pipeline, learn how to model, edit, test and deploy an XML Application with ease.
XML Operations
Using XML Pipeline it's easy to visually specify a series of XML operations to apply on your XML data, including parsing, validating, converting and transforming, according to the needs of your business application.
XSL-List Blog
XSL-List is a discussion forum on the Extensible Stylesheet Language (XSL), covering the XSL specification, XSL processors, tools, user questions, trends and more. Bookmark this RSS or ATOM feed now!
JavaServer Pages IDE (JSP IDE)
The Stylus Studio JSP IDE provides syntax help and code completion for developing JSP 1.2 and JSP 2.0 applications.