Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

130 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XSLT Editor

.NET Version Build Status Latest Release

A lightweight editor for working with XSLT.

About

Supports XSLT 1.0, 2.0, and 3.0 with real-time compilation, tag autocompletion, and plugin support.

XSLT engines

  • XSLT 1.0 via .NET engine
  • XSLT 2.0 and 3.0 via Saxon-HE

Download Latest

Editor Interface Preview


Plugins

The editor ships with built-in plugins. Copy out/plugins/{plugin-name}/ next to the editor executable.

Plugin Description
XML Formatter Formats XML and XSL documents with indentation
XPath Validator Validates XPath expressions against an XML document

SDK

Plugins are built against the SDK in src/SDK/. Reference it as a project dependency, inherit PluginBase, and implement Execute.

using XsltEditor.Sdk;
using XsltEditor.Sdk.Abstractions;
using XsltEditor.Sdk.Extensions;

public class MyPlugin : PluginBase
{
    public override string Name => "My Plugin";
    public override string Description => "Does something useful";

    public override void Execute(IDocumentContext context)
    {
        var xml = context.GetDocument(DocumentType.Xml);
        var xsl = context.GetDocument(DocumentType.Xsl);

        xml.Content = ProcessXml(xml.Content);
    }
}

Output goes to plugins/{plugin-name}/ next to the editor executable.


MIT License · Report an Issue

About

A lightweight XSLT (1.0 / 2.0 / 3.0 Support) editor with real-time compilation

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages