Enhydra XMLC Presentation


by Mark Diekhans

This is a converted slide presentation that introduces key elements of Enhydra XMLC as presented by Mark Diekhans, the lead developer of Enhydra XMLC.

Contents

 



XMLC - An Introduction          back to top

XMLC, like Enhydra Jolt, is used to create presentation objects. An application can use both tools (or write the Java by hand), depending on the needs of the particular presentation object.

XMLC will compile HTML pages, resulting in Java classes. These classes, using DOM, represent the HTML content in Java, and allow programatic manipulation of the HTML. Whereas Jolt outputs presentation objects directly, XMLC outputs Java-representations of the HTML files, which are then used by engineers who are writing the presentation objects by hand. Therefore XMLC is not as automatic as Enhydra Jolt, but it allows for more direct control over the HTML at runtime. For large complex projects we have found that the extra work up front is worth it. But for strightforward dynamic HTML situations we still use Enhydra Jolt.

XMLC is:



Why XMLC?          back to top



The Document Object Model (DOM)          back to top



DOM Example          back to top


<TABLE>
    <TBODY>
        <TR>
            <TD>Shady Grove</TD> 
            <TD>Aeolian</TD> 
        </TR> 
        <TR>
            <TD>Over the River, Charlie</TD>
            <TD>Dorian</TD> 
        </TR>
    </TBODY> 
</TABLE> 







Java DOM          back to top



Java DOM and HTML          back to top



XMLC Generated Objects          back to top



XMLC Compiler Features          back to top



Using XMLC          back to top



XMLC Command          back to top



Simple XMLC Example          back to top

 



XMLC and XML          back to top