Apologies if this is a repeat of an older question but I did attempt to find a similar question and didn't have any luck. I'm going through the tutorials at www.w3schools.com for writing XSDs and XMLs. I have a basic understanding of namespaces but my question -- why do many XSDs that I've seen contain a reference to http://www.w3.org/2001/XMLSchema?
For example:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://www.w3schools.com"
xmlns="https://www.w3schools.com"
elementFormDefault="qualified">
Why do many people include xmlns:xs="htttp://www.w3.org/2001/XMLSchema? Is it because it allows them to use predefined elements, attributes and types such as xs:string, xs:complexType, xs:simpleType, xs:attribute?
Does referencing the w3.org namespace allow you to use built-in datatypes?
Thanks in advance