Side quest: unxml .leo file support

27 views
Skip to first unread message

Ville M. Vainio

unread,
Aug 9, 2026, 6:14:24 AM (yesterday) Aug 9
to leo-editor
If you need to "peek" what is in .leo files, I added support it to my unxml cli tool:


(I use this to view various xml formats in a readable way, also to compare them etc, installable with pip)

Here's a side by side view of leo outline with and without unmxl:


And here's a larger file fully rendered:


Usage is basically:

unxml --leo outline.leo

Or 

 unxml git log -p LeoPyRef.leo

(to wrap git command so that you see pretty version of leo file changes, instead of all the noise)


Edward K. Ream

unread,
Aug 9, 2026, 6:24:26 AM (yesterday) Aug 9
to leo-e...@googlegroups.com
On Sun, Aug 9, 2026 at 5:14 AM Ville M. Vainio <viva...@gmail.com> wrote:
If you need to "peek" what is in .leo files, I added support it to my unxml cli tool:


Wow. Thanks for this heads up. The repo shows how behind the times I am with regards to tools and workflows. Your work is inspiring.

Edward

Ville M. Vainio

unread,
Aug 9, 2026, 6:58:42 AM (yesterday) Aug 9
to leo-e...@googlegroups.com
BTW if you like the look of that unxml-demos site, we could easily modernize Leo's landing site with Zensical:


The flow is basically "edit some markdown files, preview the build locally, push -> github actions renders the website content". Nobody writes html or css, and it's quite pretty and flexible by default. Written in rust :)

I have used it to create a bunch of "web books" like https://vivainio.github.io/xml-avant-garde/

I can create a "demo" version on what leo's website would look with it if you are interested.


--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS3fg2k4u1%2BC87PGeVHNuzBz-pK%3D0gPq0ghX_eODPn%3Dk4g%40mail.gmail.com.

Thomas Passin

unread,
Aug 9, 2026, 5:08:19 PM (yesterday) Aug 9
to leo-editor
Hey, that looks very nice! Good to see XSLT and Schematron getting the love they deserve. How about supporting ReLAX as well as XSD for schemas?

Ville M. Vainio

unread,
2:29 PM (8 hours ago) 2:29 PM
to leo-e...@googlegroups.com
Maybe, I thought Relax was dead :)

--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.

Thomas Passin

unread,
7:59 PM (2 hours ago) 7:59 PM
to leo-editor
I don't think so but I may not be up on the latest.
Reply all
Reply to author
Forward
0 new messages