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.

Map between EDIFACT and X12

Anything can be mapped to anything: EDIFACT to X12 or vice-versa, either to XML, and any of those to flat files or other formats. Both the XSLT and XQuery mappers can help bridge complex formats with ease.

Advertise with Stylus Studio

Need to get your products and/or services in front of millions of qualified enterprise XML developers? Partner with Stylus Studio, the world's largest XML developer community!

XML Validator

Stylus Studio has a built-in XML validator that supports industry-standard DTD and XML Schema validators including MSXML 4.0 SAX, MSXML 4.0 DOM, Microsoft .NET XML Parser (System.XML), Xerces-J 2.5.1, XSV 2.6, etc. Validate XML with Stylus Studio.

Support for the Saxon XQuery Processor

Stylus Studio's XQuery tools feature integrated support for the Saxon SA 8.7.3 XQuery and XSLT processor so you can Edit, Debug and Run XQuery using Saxon. Java code generation support lets you deploy Saxon XQuery applications with just one click.

Stylus Most Wanted

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.