Skip to content

Instantly share code, notes, and snippets.

View longhotsummer's full-sized avatar

Greg Kempe longhotsummer

View GitHub Profile
@longhotsummer
longhotsummer / test-xmldiff.py
Created December 11, 2019 08:34
Tests xmldiff on some basic AKN HTML
from xmldiff import main, formatting
import lxml.etree
import lxml.html
XSLT = u'''<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:diff="http://namespaces.shoobx.com/diff"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">