initial xdoc integration, preliminary web command support