|
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.
|
Learn Stylus Studio in 6 Minutes
Learn Stylus Studio in 6 Minutes is the world's fastest introduction to XML development using Stylus Studio. In just six minutes, learn how to leverage Stylus Studio's powerful XML tools and utilities to simplify XML development.
XML Schema Tutorial
An XML Schema Tutorial that explores real-world XML Schema development issues, XML Schema examples and various use cases.
Xerces - Parsing and Validating XML with the Apache Xerces Parser
The Xerces Parser supports the XML 1.0 recommendation and W3C's XML Schema recommendation version 1.0, DOM and SAX. Learn how easy it is to use Apache Xerces directly in Stylus Studio to parse and validate XML with ease.
XML Helps Uncork Innovative Winery Web Sites
Learn how Freerun Technologies, Inc., a leading Internet services provider used Stylus Studio and XML technologies to develop a framework for Web-based eCommerce applications for the wine industry, reducing development cycles.