FreeXmlToolkit

XML Editor

Last Updated: November 2025 Version: 1.0.0

The XML Editor is the main feature of FreeXmlToolkit. It provides a powerful and easy-to-use interface for working with XML files.

Overview

XML Editor - Text Mode The XML Editor in text mode with syntax highlighting

XML Editor - Grid Mode The XML Editor in grid mode for structured editing


Working with Files

Opening and Saving Files

File Operations

Favorites

Save your frequently used files for quick access:

Learn more: Favorites System


Editing Modes

Text Mode

Text Mode Editing Screenshot placeholder: Text editor with syntax highlighting

The text editor provides:

Tree View

Tree View Tree view showing XML structure

Grid Mode

Grid Mode Editing Grid editor showing table-like XML editing

The grid editor provides:


Auto-Completion (IntelliSense)

Auto-Completion Auto-completion popup showing element suggestions

The editor automatically suggests valid elements and attributes based on your XSD schema:

  1. Type < to see a list of valid child elements
  2. Navigate through suggestions with arrow keys
  3. Press Enter to insert the selected element
  4. Press Escape to close the suggestions

The suggestions are context-sensitive - only elements that are valid at your current position will be shown.

Learn more: Auto-Completion Guide


Formatting Tools

Pretty Print

Pretty Print Before pretty print

Click “Pretty Print” to format your XML with proper indentation. This makes messy or compressed XML easy to read. Pretty Print After pretty print


Validation

Validation Results Validation panel showing errors and warnings

How to Validate

  1. Load a Schema: Click the folder icon in the XSD Schema section to select your schema file
  2. Automatic Detection: If your XML references a schema, it will be loaded automatically
  3. View Results: Errors and warnings appear in the validation panel
  4. Navigate to Errors: Click on an error to jump to the problem location

Supported Validation Methods

Method Description
Well-Formed Check Ensures basic XML syntax is correct
XSD Validation Validates against XML Schema files
Schematron Validates against business rules

Supported Schema Formats

Format Support
XSD (XML Schema) Full support
Schematron Full support
DTD Not supported
RelaxNG Not supported

XPath and XQuery

XPath Query Screenshot placeholder: XPath tab with query input and results

Use XPath and XQuery to find and extract data from your XML documents:

  1. Switch to the XPath/XQuery tab at the bottom of the editor
  2. Enter your query in the input field
  3. Click Execute to run the query
  4. View Results in the results panel

Example Queries


Keyboard Shortcuts

Shortcut Action
Ctrl+O Open file
Ctrl+S Save file
Ctrl+Z Undo
Ctrl+Y Redo
Ctrl+F Find
Ctrl+H Replace
Ctrl++ Zoom in
Ctrl+- Zoom out
< Open auto-completion

Tips


Previous Home Next
Home Home XML Editor Features
All Pages: XML Editor XML Features XSD Tools XSD Validation XSLT FOP/PDF Signatures IntelliSense Schematron Favorites Templates Tech Stack Licenses