The City Council voted unanimously to appeal a court ruling against its efforts to restrict children's books with sexual content.