Home. 
.

transparent

transparent

transparent

XSLT Editor

Altova XMLSpy® 2008 includes a powerful XSLT editor with support for XSLT 1.0 and schema-aware XSLT 2.0.

The XMLSpy XSLT editor includes numerous tools that facilitate quick, error-free stylesheet development.

Though you can use the XSLT editor in XMLSpy’s Enhanced Grid View to view and edit your stylesheet code in a tabular format, most developers prefer to work Advanced Text View for this type of development. Advanced Text View includes syntax coloring, line numbering, source folding, book marking, and other visual cues for organizing and navigating through your code quickly and easily.



XMLSpy XSLT editor

The XMLSpy XSLT editor has built-in knowledge of XSL, XSLT, and XHTML. It provides intelligent entry helper windows and drop down menus that offer you choices of elements, attributes, and entities that you can insert with one click, and code completion speeds typing and ensures balanced opening and closing tags.



XSLT editor code completion

A handy XSLT tab in the XMLSpy Info Window provides useful information while you're working with stylesheets in the XSLT editor. This tab allows you to view the associated schema and XML instance files, as well as any included or imported XSLT documents, and mousing-over the file names reveals the complete file path. You can even configure the schema and XML instance relationships directly in this tab with just a few clicks. In addition, toolbar buttons allow you to quickly organize some or all of the files into an XMLSpy project or even add all files to a ZIP archive in a user-defined location with just a few clicks.



XSLT info window

The new XSL Outline entry helper window in the XSLT editor is another powerful feature for optimizing XSLT development. When you're working with an XSLT 1.0 or 2.0 stylesheet, it lists the templates and functions in the current XSLT file as well as those in any included or imported files. Color coded icons provide at-a-glance information on templates and functions, and selecting the Go to Item icon or double clicking a template or function highlights it in the current document. Functions are listed by name, while templates are displayed by name and/or XPath expression. You can view or edit each template's mode, priority, and associated comment directly in the XSL Outline window.

You can search for, filter, and sort the templates and functions displayed in the outline by multiple criteria. The window also allows you to quickly insert calls to named templates and select a named template as the entry point for transformations.



XSL Outline

The XSLT editor also includes a powerful XPath Analyzer and XPath Builder to assist you with building and testing XPath 1.0/2.0 expressions for use in your stylesheets.

XSLT Editor Options and Open XSLT Architecture

At any time during the XSLT editing process, you can transform your file(s) with a single click to preview the generated output in XMLSpy's Browser View. The XSLT editor offers many ways to initiate the XSLT transformation:

  • From any XML file that includes a <?xsl-stylesheet....?> processing instruction
  • From any XSL stylesheet using a sample XML document of your choice
  • From the project view for any group of XML files

The XSL Options dialog allows you to customize the behavior of the XSLT editor. XMLSpy includes the award-winning, standards-conformant Altova XSLT processor for performing XSLT 1.0 and schema-aware XSLT 2.0 transformations, and it also provides built-in support for the MSXML XSLT engine. An open XSLT architecture allows the use of any other external XSLT processor, including Apache Xalan, Saxon, or XT. This enables you to build a powerful Web site that fully utilizes XSLT 1.0 or 2.0.



Configuring XSLT editor options

The XMLSpy XSLT editor does not restrict you to XHTML or HTML output. Because XMLSpy can open and edit any non-XML text file, you can produce XSLT files that generate any arbitrary textual output and still use XMLSpy to view the resulting files.

Support for Java, C#, JavaScript, VBScript

Developers often embed program code in Java, C#, JavaScript, or VBScript to add advanced functionality to their XSLT stylesheets. The XSLT engine in XMLSpy supports these types of program code, allowing you to not only take advantage of the powerful XSLT editing and transformation capabilities for stylesheets that contain program code – you can also test, perfect, and optimize them using the XSLT debugger and XSLT profiler. An example of a stylesheet that contains VBScript is shown below.

VB Script in stylesheet

Assigning XSL Transformations

If you intend to serve your content to an XML-aware browser (such as Internet Explorer 5.x or higher), you may also want to include a reference to your XSLT stylesheet in the actual XML document.



Assign XSL Dialog

The "Assign XSL" dialog auto-generates the proper <?xsl-stylesheet....?> processing instructions, allowing you to simply select an XSLT file from your hard-disk, any open window, or any file or URL from the project view.

Testing and Perfecting Stylesheets

As you’re working with an XSLT file in the XSLT editor, you can also take advantage of the XSLT debugger and XSLT profiler to help you test, perfect, and optimize your stylesheet.

Support for XSLT 1.0 and Schema-aware XSLT 2.0

In addition to support for XSLT 1.0, the XMLSpy XSLT editor includes full support for the important new XSLT 2.0 and XPath 2.0 specifications, which are both used in XSLT development. The 2.0 versions of these standards represent a significant upgrade compared to their 1.0 versions, extending the languages with features that increase productivity, improve code quality and reusability, and provide powerful new functions.

The new features in XSLT 2.0 and XPath 2.0 are designed to make development simpler, more efficient, and therefore more productive, allowing you to produce higher-quality applications in less time. Schema-awareness in XSLT 2.0 provides additional mechanisms for error isolation, simplified debugging, and enhanced code performance. XMLSpy combines its implementation of XSLT 2.0 and XPath 2.0 with powerful editing and debugging features, allowing you to create the most advanced stylesheets quickly and easily.

To learn more about the benefits developers will experience through working with XSLT 2.0 and XPath 2.0, visit our XSLT/XPath 2.0 page.



Experience the powerful XMLSpy XSLT editor for yourself - Download a free 30-day trial of XMLSpy.



transparent
Download
Pricelist
Buy
Video
Comparison
Datasheet
Print
Mail
Digg
delicious
Free Processor
.

AltovaXML

AltovaXML is a an XML standards processor that includes the Altova XSLT 1.0, XSLT 2.0, XQuery, and XML validation engines for royalty-free use in your custom applications.

.
Benefits of XSLT 2.0
.

Read the InfoTrends/CAP Ventures report, XSLT 2.0: Understanding the Development and Business Benefits to learn more about the the expected impact of this important new standard.

.
Why XSLT 2.0 and XPath 2.0?
.

Learn about the technical advantages and view code examples here.

.
.
.
XPath Analyzer
.

NEW XMLSpy® 2008 contains a handy XPath Analyzer that assists you in building and verifying XSLT expressions, which are used to select XML elements during the XSL transformation process.

.
more XPath features...more

Visually Design XSLT Stylesheets
.

In addition to the XSLT editor in XMLSpy® 2008, Altova's product line also includes StyleVision® 2008, which allows developers to graphically create complex XSLT stylesheets or infer stylesheets from an existing HTML file.

.
more info...more

Open XSLT Engine Interface
.

XMLSpy® 2008 features an extensible XML Transformation Engine interface that allows you to use either a built-in XSLT processor or plug in any XSLT, XSL:FO, or related processor of your choice to perform XML transformations directly within the XSLT editor.

.
XSLT Processor Downloads...more

XSL Introduction
.

XSL is the Extensible Stylesheet Language defined by the W3C that can be used to transform XML documents into other formats (most commonly into HTML).

.

This allows for a clear separation between content and presentation. It has helped spur a new era of Web development, as well as many other unique B2B application scenarios.

.

For more detailed information on XSL, please visit the corresponding pages and specifications on the W3C site.

.
W3C XSL info...more

.
.

transparent

transparent