| section |
contents |
| nodes |
This explains how the source code is represented internally in the program
as a tree structure of nodes. |
| parsing |
The explains how a source code file is read and converted to the internal
structure (tree structure of nodes) |
| translating |
This explains how the internal representation is output in various forms
using XSLT. |

The above diagram is 'work in progress' I have drawn it to help me understand Benoits proposal as follows:
To split the node structure generated by the javacc parser from
the internal representation of XES.
The JAXB compiler generates a lightweight structure of classes that
mimics the XES schema structure. Thoses classes can be directly
marshalled/unmarshalled by JAXB.
XSLTs compiled with Xalan could be used to generate classes to transform
the output for a specific language.
|
metadata block
|
|
|
| see also: |
Using XML with java
|
| Correspondence about this page |
|
|
Book Shop - Further reading.
Where I can, I have put links to Amazon for books that are relevant to
the subject, click on the appropriate country flag to get more details
of the book or to buy it from them.
|
Imperfect C++.
Other Java books
|
|
Commercial Software Shop
Where I can, I have put links to Amazon for commercial software, not
directly related to this site, but related to the subject being discussed,
click on the appropriate country flag to get more details of the software
or to buy it from them.
|
JBuilder - There is also a free version of Jbuilder at borland
website . However its licence conditions are quite restrictive so you may
prefer another java IDE.
|
|
Can this page be improved?
Please send me any improvements to
here. I would appreciate ideas to make the pages more useful including
error correction, ideas for new pages, improvements to wording. It helps
if you quote the full URL of the page.
|
|
|
progam
I am working on a project which uses these principles, if you would like
to help me with this you are welcome to join in, here:
|
for xml encoding: http://sourceforge.net/projects/xes/
|
This site may have errors. Don't use for critical systems.