Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > THIMC: YML 1.0 released

Thread Tools

THIMC: YML 1.0 released

Volker Birk
Posts: n/a

because I think, that XSLT is convenient, but it's somewhat unexpedient
to program XSLT directly, I thought about a more plain solution: YML -
translating a Python- or C-like language into YML.

With YML you'll in particular get the features, which make those things
more easy, which are annoying writing XSLT.

Because everything is being translated into XSLT, you can use YML or
YSLT, respectively, anywhere, where "pure" XSLT or XML is being used

This is a hello world in YSLT:

----------------------- schnipp ----------------------------------------
include yslt.yml

stylesheet {
output "text"

template("/") {
> hello, world\n

----------------------- schnapp ----------------------------------------

If you're interested in a somewhat more complicated sample, see this
one for (simplyfied) generating Java interfaces out of XMI using YSLT:


The documentation you'll find on YML homepage here:

For having fun, I hacked a "Default Compiler", which generates a default
Y language out of an XML schema. From this tool I got ~99% of YHTML.

So the documentation is in YHTML <>
I'm open for creative hints how to improve that, preferably in

BTW: YML tool chain is being used in production in our company for some
time now, so it's a pretty square deal already


You can download a POSIX distribution under GNU GPL 2.0 here:


YML can easily be used on Windows, too. You'll need Python, xsltproc and


The file name of an indirect node file is the string "iNode" immediately
followed by the link reference converted to decimal text, with no leading
zeroes. For example, an indirect node file with link reference 123 would
have the name "iNode123". - HFS Plus Volume Format, MacOS X
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FYI: YML 2.0 released Volker Birk XML 0 01-27-2009 08:06 PM
xml yml and dependency hell Rustom Mody Python 4 07-11-2007 03:12 AM
why would i want to put my mysql password in the yml file? trevor Ruby 17 02-13-2006 09:21 PM
.yml/host: localhost fails in Rails app generation Richard Lionheart Ruby 6 11-19-2005 03:31 PM
Multiple apps - one database.yml? Rick Ruby 3 10-23-2005 02:52 AM