Steps for Mapping XML to XML

To create an XSLT stylesheet using the XSLT mapper:
1. From the Stylus Studio menu bar, select File > New > XSLT: Mapper.

Stylus Studio displays the XSLT editor with the Mapper tab selected.

2. Select one or more source documents and a target document.
3. In both the source and the target panes, click the root element and then press the asterisk key ( *) in the numeric key pad to expand the schema tree.
4. Map nodes in the source documents to nodes in the target document, define XSLT instructions and functions, and create named and matched templates using the mapper's graphical tools.
Tip

 

Consider working through the source document in document order as you map source and target elements.

5. Check the XSLT Source view from time to time. This allows you to confirm that the stylesheet is doing what you expect it to do (and it is also a good way to teach yourself XSLT). Changes you make directly to the source are reflected on the Mapper tab, and vice versa.

Each of these steps is described in greater detail in the following sections.

Using Stylus Studio with RenderX XEP

RenderX XEP is a production-quality engine that converts XSL:FO into PDF or PostScript files. You can use RenderX XEP in place of the Apache FOP engine to render PDF files from Stylus Studio.

Generate XML Schema

Generate XML Schema data models from one or more XML instance documents, or by converting other data models (DTD's, Relational Schemas, EDIFACT, EDI, etc.)

XQuery Mapper

Stylus Studio has the industry's only XQuery mapper, enabling you to develop sophisticated XML mappings consisting of queries and data transformation in an intuitive, visual manner.

XML Videos

Stylus Studio online XML video demonstrations illustrate how easy it is to learn advanced XML editing techniques. Now playing: Java Code Generation, Convert to XML, Grid View, and many other informative video demonstrations.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member