Added XML to the layer 1 apis. Added global and process to layer 0. Fixed code snippet.
Merge pull request #1 from cb1kenobi/tweaks

Added XML to the layer 1 apis. Added global and process to layer 0. Fixe...