XSLT Execution Wizard (User View)

Status: Very Draft | Changes: available in CVS | Issue: #22924

This document describes user view of XSLT Execution wizard. It enhances simple XSLT Execution action and adds multi-selection transformations.

Introduction

Current XSL Transformation action solves single transformation requirements. Proposed wizard will provide support for transformation of more XML or XSLT documents at once.

User Interface

Transform dialog is accessible from XML documents as well as from XSLT documents. You can also select more than one of mentioned documents. Following table describes action behavior in specific situations.

XSLT \ XML A) No XML selected B) One XML selected (i.xml) C) Set of XML selected (j.xml, k.xml, l.xml, ...)
1) No XSLT selected Action was invoked from menu and user will specify XML source as well as XSLT script in the dialog. User will specify XSLT script for selected a.xml XML document.
  • User probably wants just use same XSLT script with all selected XML sources. User will specify one XSLT script. [95%]
  • User also could want to transform all selected XML sources with different XSLT scripts in one step. User will specify list of XSLT scripts (for each XML source). [5%] This situation is not supported, use single selection instead.
2) One XSLT selected (s.xsl) User will specify XML source which will be transformed with selected s.xsl XSLT script. User has already selected i.xml XML source and also s.xsl XSLT script. Just output will be specified by user in the dialog. User wants to transform all selected XML sources with same selected s.xsl XSLT script. Just list of output files (for each XML source) will be specified by user in the dialog.
3) Set of XSLTs selected (t.xsl, u.xsl, v.xsl, ...)
  • User probably wants just use all selected XSLT scripts with same XML sources. User will specify one XML source. [99.999%]
  • User also could want to use all selected XSLT scripts to transform different XML sources in one step. User will specify list of XML sources (for each XSLT script). [0.001%] This situation is not supported, use single selection instead.
User wants to transform i.xml XML document with all selected XSLT scripts. Just list of output files (for each XSLT script) will be specified by user in the dialog. Warning! This situation is not supported. Warning dialog will display message: "You have selected 3 XML sources and also 3 XSLT scripts. Not sure, what you want to do. You can select just 0-1, 1-0, 1-1, 1-* or *-1 at once (selected XMLs - selected XSLTs)."

Legend:

  • Different colors signify different behavior: single selection dialog (solved by simple action), multiple selection dialog, warning dialog.
  • In regular situations bold text describes what kind of files have to user specify in the transform dialog (which are not known from previous selection).
  • In situation the selection is not unambiguous I has written use case estimate in percentage (i.e. 99,999%, 95%, 5%, 0.001% - I estimate nobody wants such behavior).

Transformation Wizard

The wizard will be displayed in bright blue situations, i.e. A3, B3, C1, C2.

Situation A3, B3:

Items in XSLT Scripts column are read-only (selected by user in explorer). User can specify Output Files for each XSLT script. In situation A3 user can also specify XML Source otherwise it is read-only (selected by user in explorer).

Situation C1, C2:

Items in XML Sources column are read-only (selected by user in explorer). User can specify Output Files for each XML source. In situation C1 user can also specify XSLT Script otherwise it is read-only (selected by user in explorer).

Project Features

About this Project

XML was started in November 2009, is owned by dstrupl, and has 58 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close