Suppose I have the following XML schema file and the following XML document file. I have two questions:
Since the namespace is not specified in the XML Schema file, what namespace will the information element contain in?
In an XML document file when using Information, to which namespace does this belong? Please note that in this case I am not referring to the XML Schema file from the XML document file.
XML Schema File:
<?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:element name="Information" type="xs:string"/> </xs:schema>
XML document file:
<?xml version="1.0" encoding="utf-8"?> <Information>Hello XML</Information>
thanks in advance George
source share