Main
AutoGen
Pages
Home
Announce
FAQ
docs
XML Defs
testimonials
downloads
Automated
Options
AutoOpts
Comparison
Man example
Redistribute
Licensing
local use
using getopt
GCC's
Fixincludes
fixincludes
Automated
FSM
description
example
usagefsm
Addons
addon
Automated
XDR
xdr project
AutoGen handles definitions in XML form by converting XML format to AutoGen Definition format. There is a small amount of information loss, as follows:
<?xml version="1.0"?> <ag_example template="sample.tpl"> <mumble attr="foo"> <grumble> <stumble around the 'XML'.> </grumble> mumble-1 <!-- This is just a /* multi-line comment */ --> mumble-2 <grumble> grumble & "grumble" & grumble. </grumble> mumble, mumble </mumble> <stumble upon="rough going"/> </ag_example>
/* Parsed from stdin */
AutoGen Definitions sample.tpl;
XML-version = '1.0';
XML-standalone = true;
template = 'sample.tpl';
mumble = {
content = '';
attr = 'foo';
grumble = {
content = '';
text = '<stumble around the \'XML\'.>';
};
text = 'mumble-1';
/* This is just a
/* multi-line comment * / */
text = 'mumble-2';
grumble = {
content = '';
text = 'grumble & "grumble" & grumble.';
};
text = 'mumble, mumble';
};
stumble = {
content = '';
upon = 'rough going';
};Please direct any questions, comments, suggestions or anything else to the author, .
top Viewable With Any Browser Valid XHTML 1.0!