Unless you specify, an attribute is always optional.
You can predefine an attribute's content with a fixed value or a default value.
File: Schema.xsd
targetNamespace="http://www.rntsoft.com" xmlns="http://www.rntsoft.com"
elementFormDefault="qualified">
use="required" />
File: Data.xml
sectionid="101"
newspaperid="21"/>