NEW : Yemeni government declares emergency law for 30 days . Yemen 's army repelled an attack Tuesday on a military position by al Qaeda in the Arabian Peninsula , killing 12 militants and wounding five , a Yemeni official said , citing sources at the Interior Ministry in Sanaa . President Saleh agrees to a new constitution and elections . The opposition previously rejected any constitution without Saleh 's immediate ouster . Some government , military officials have joined the opposition .
NEW : Yemeni government declares emergency law for 30 days . President Saleh agrees to a new constitution and elections . The opposition previously rejected any constitution without Saleh 's immediate ouster . Some government , military officials have joined the opposition .