In an XML file, what is the function of the “header” line information

HoxSenkeele

New Member
At the top of the XML files I'm studying, I see at the beginning:\[code\]<selfModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../dtd/selfmodel.xsd">\[/code\]then after that it's the actual meat of the XML:\[code\] <plan id = "offer" default="true"> <description>Automatically generated from ACELandic specification</description> <states> .. etc\[/code\]What is the purpose of the \[code\]xmlns:xsi=\[/code\] and \[code\]xsi:noNamespaceSchemaLocation\[/code\] stuff? Does it get searched/verified online when the file is compiled? That's what I assume by the URL www.w3.org/2001/XMLSchema-instance but that seems very inefficienmt
 
Back
Top