Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Batch Process Step - XSLT Editor

Batch Process Step Batch Process Step - Testing Tab GrooperReview.Pages.Design

Provides an interactive environment for editing, generating, and testing XSLT transforms on XML documents within a test batch.

Remarks

The XSLT Editor tab is a comprehensive workspace for developing, validating, and troubleshooting XSLT transforms used with the XML Transform activity in a Batch Process Step.
It is designed for solution designers, integrators, and administrators who need to convert, normalize, or prepare XML data for downstream processing or integration, supporting both manual and AI-assisted authoring.

Purpose

Use the XSLT Editor to author, test, and refine XSLT transforms for XML documents. The tab enables rapid iteration, AI-powered generation, and detailed troubleshooting of XSLT logic, ensuring that XML data is transformed accurately and efficiently for your workflow.

UI Components

  • Test Source Panel:
    • Allows users to browse and select the batch, document, or page to use as the XML input for testing.
    • Integrates with the Test Source control for hierarchical navigation and selection.
    • Toolbar buttons may include {search}, {browse}, and {goto} for efficient navigation.
  • Transform Editor:
    • A code editor tailored for XSLT, featuring syntax highlighting, code completion, and real-time validation.
    • Supports both manual editing and AI-assisted generation of XSLT transforms.
    • Integrates with the {build} button to generate XSLT from natural language instructions.
    • Provides context menu commands and keyboard shortcuts for efficient editing.
  • Input Document Viewer:
    • Displays the raw XML content of the currently-selected test source.
    • Allows users to review the input data before applying the XSLT transform.
    • Supports search, navigation, and syntax highlighting for XML.
  • Output Document Viewer:
    • Shows the result of applying the XSLT transform to the input document after running a test.
    • Enables users to review and validate the output format and content.
    • Supports syntax highlighting and search for the output XML or text.
  • Action Buttons:
    • {build}: Use AI to generate the XSLT transform from natural language instructions.
    • {test}: Apply the current XSLT transform to the selected input document and update the output viewer.
    • {diagnostics}: Display detailed information about the AI generation process, including errors, warnings, or suggestions.
    • {save}: Commit the current XSLT transform to the XML Transform activity for use in batch processing.
    • {cancel}: Discard unsaved edits and revert to the last saved version of the XSLT transform.

Workflow and Scope

  • The tab is enabled for Batch Process Steps configured with an XML Transform activity.
  • Use the Test Source panel to select the XML document or page to use as input.
  • Author or generate the XSLT transform in the Transform Editor, using manual editing or the {build} button for AI assistance.
  • Click the {test} button to apply the transform and view the output in the Output Document Viewer.
  • Use the {diagnostics} button to review AI generation details and troubleshoot issues.
  • Save or cancel changes as needed to manage XSLT versions.

Accessibility

  • Fully navigable by keyboard and mouse.
  • Visual cues and highlighting indicate the selected test source, editor state, and output status.
  • Tooltips, context menus, and keyboard shortcuts provide guidance for available actions and controls.
  • The Transform Editor supports accessibility features for code editing, including screen reader support and keyboard navigation.

Example

The following diagram illustrates the typical layout of the XSLT Editor tab, with labeled sections and controls:

┌─────────────────────────────────────────────────────────────────────────┐
│ XSLT Editor                {build} {test} {diagnostics} {save} {cancel} │
├─────────────────────────────────────────────────────────────────────────┤
│ NW: XSLT Code              │ NE: Source Document                        │
│ ┌────────────────────────┐ │ ┌────────────────────────────────────────┐ │
│ │                        │ │ │                                        │ │
│ │ Transform Editor       │ │ │         Input Document Viewer          │ │
│ │                        │ │ │                                        │ │
│ └────────────────────────┘ │ └────────────────────────────────────────┘ │
│────────────────────────────┼────────────────────────────────────────────│
│ SW: Test Source            │ SE: Transform Result                       │
│ ┌────────────────────────┐ │ ┌────────────────────────────────────────┐ │
│ │ Batch                  │ │ │                                        │ │
│ │ ├─ Document            │ │ │ Output Document Viewer                 │ │
│ │ │ └─ Page 1            │ │ │                                        │ │
│ └────────────────────────┘ │ └────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────────────┘
  • NW: XSLT Code (Transform Editor): Code editor for authoring and editing XSLT.
  • SW: Test Source: Hierarchical selector for batches, documents, or pages.
  • NE: Source Document (Input Document Viewer): Viewer for the selected XML input.
  • SE: Transform Result (Output Document Viewer): Displays the result of the XSLT transformation.
  • {build}: Use AI to generate XSLT from instructions.
  • {test}: Apply the XSLT transform and view output.
  • {diagnostics}: Show AI generation details and troubleshooting info.
  • {save}: Commit the XSLT transform for use in batch processing.
  • {cancel}: Discard unsaved changes and revert to the last saved version. ...

Advanced Features

  • AI-Assisted Authoring: Use natural language instructions to generate XSLT transforms with the {build} button.
  • Real-Time Validation: The Transform Editor provides syntax checking and code completion for XSLT.
  • Integrated Testing: Instantly apply and validate XSLT logic on real XML data with the {test} button.
  • Diagnostics and Troubleshooting: Access detailed feedback on AI generation and transformation errors.
  • Version Management: Save or cancel changes to manage XSLT versions and maintain workflow integrity.

For more information, see the documentation for XML Transform activity, Batch Process Step, Code Editor, and related workflow objects.

Command Buttons

ButtonShortcut KeySummary

Child Controls

NameTypeSummary

Used By

Notification