Xoxa example C programs
=======================

This directory contains some sample programs using the Xoxa library.

In each case, compile with

    % cc -o xoxa_xxx -I.. xoxa_xxx.c -L.. -lxoxa -lexpat
    % ./xoxa_xxx foo.xml

xoxa_digest.c
-------------

Given an XML file as argument, this calculates the SHA-1 digest of the
normalised form of the XML document.

The digest output by this program should be identical to the output of:

    % ..../xoxa foo.xml | openssl sha1
