/* ------------------------------------------------------------------ */
public void before() throws java.lang.Exception
{
// create the document and assign related members
m_orb = (XMultiServiceFactory)param.getMSF();
m_document = new XMLDocument( m_orb );
m_formLayer = new FormLayer( m_document );
// create a simple structure in the DOM tree: an element with two attributes
String[] modelNames = m_document.getXFormModelNames();
m_defaultModel = m_document.getXFormModel( modelNames[0] );