The XML file just goes in your infiles directory with all your other temporal bs files.  It just acts on a standard BC reference so there is no additional pre input.  To call the file from your run_aem3d.dat file use
weir.xml dynamic_boundary_condition_file