Hi all..
Been wondering, just as we use the -decleration to bind XML to a DTD, how do we do it with XSD?
MSDN sample:
<?xml version="1.0"?>
<Product ProductID="123"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="Product.xsd">
<ProductName>Rugby jersey</ProductName>
</Product>
is it the xsi:NoNamespaceSchemaLocation that does the trick? Or is this just another namespace? :P
Thanks in advance, and sorry if this is a stupid question..
[EDIT] And is the
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
..line just for giving us a unique XML namespace, or does it also provide information on where the schema can be located ?