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

DTD Parser

Learn about the powerful DTD parser technologies that are supported in Stylus Studio's DTD tools, including DOM and SAX based DTD parsing components.

An Introduction To XML Schema Development

An Introduction to XML schema development in Stylus Studio covers some of the highlights of our XML Schema Editor, powerful tools for editing, validating, converting and generating XML schema. Watch the video online today!

XML Differencing

Stylus Studio's integrated XML Differencing tool visually computes and analyzes any changes made to files or folders in a highly configurable, XML-aware fashion. Display text or tree views, with changes displayed in a merged view or side-by-side!

Using XSLT Templates

Using XSLT Templates is an online video demonstration of the Stylus Studio XSLT designer. See just how easy it is to create, apply and match XSLT templates to your XML data to create beautiful HTML layouts for XML content publishing applications.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member