Opening the XSLT Mapper

This procedure describes how to open the XSLT Mapper and select the files you want to use for the drag-and-drop operations that will define your XSLT stylesheet.

To open the XSLT Mapper:
1. From the Stylus Studio menu bar, select File > New > XSLT: Mapper.

Stylus Studio displays XSLT editor with the Mapper tab selected. The source pane beneath the mapper panes appears by default, allowing you to see how the mappings of XML document elements are rendered as XSLT. The source pane is fully editable and synchronized with the XSLT Mapper. Of course, you can always click the XSLT Source tab for a full-screen view of your XSLT code.

Figure 47. XSLT Editor Mapper Tab for a New Stylesheet

Tip

 

The Project window also appears if it was open the last time Stylus Studio was closed. You can close it.

2. Click the Add Source Document button at the top of the mapper's left pane.

Stylus Studio displays the Open dialog box.

3. For this example, navigate to the examples\simpleMappings directory in the Stylus Studio installation directory.
4. Double-click books.xml.
5. Click the Set Target Document button at the top of the Mapper's right pane.

Stylus Studio displays the Open dialog box.

6. For this example, navigate to the examples\simpleMappings directory in the Stylus Studio installation directory.
7. Double-click catalog.xml.

Stylus Studio displays tree diagrams of these XML documents. The default XSLT source code has not been altered at this point.

Figure 48. XSLT Mapper Tab with Source and Target Documents

XMLSCHEMA-DEV Blog

XML Schema-DEV is an active community for XML Schema-releated development - join the discussion on XML Schema standards, tools, implementations and more. Bookmark this RSS or ATOM feed today!

Open XSLT Architecture

Learn how Stylus Studio's Open XSLT Architecture enables you to use any of the popular industry-standard XSLT processors (like Saxon, Xalan-J, MSXML, Microsoft .NET, and others) for all your XSLT development tasks.

XQuery Blasts off at NASA's Johnson Space Center

This is a short story how DynCorp (CSC) used XQuery at NASA's Johnson Space Center to Simplify XML Data Access and Integration

XML Code Folding

Stylus Studio's XML Editor features XML code folding, a powerful and intuitive way to maximize limited screen real-estate and help make sense of large XML files.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member