Fix namespace and type for nil attribute

The nil attribute needs the xsi namespace specified, and also needs to
have a string value, not a boolean.