An attorney for the state of Texas urged a panel of federal appellate judges Wednesday to restore a law banning the sale of "sexually explicit" books to school libraries.