XES - Schema

The aim of this page is to propose an XML encoding for source code. This is to enable simpler translation between different language source code, code generators and XMI.

The schema aims to be a formal and unambiguous definition of the syntax of xes. It uses the .xsd format which is defined by www.w3.org this site also contains links to tools for working on .xsd files.

I have shown an example of how the schema encodes Java on this page.

The formal schema can be downloaded from sourceforge, and a diagram and listing is available.

Note that the aim of xes is to encode the parsing of source code into a tree structure. This is to define the underling structure of the program and not just to wrap xml tags around the language keywords.


metadata block
see also:

Using XML with java

Correspondence about this page

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2022 Martin John Baker - All rights reserved - privacy policy.