i want to understand the contents of schema ?
hi ,
i want to understand the contents of schema ?
Code:
<?xml version=”1.0”?>
<schema xmlns=”http://www.w3.org/2001/XMLSchema”
xmlns:target=”http://www.example.com/name”
targetNamespace=”http://www.example.com/name”
elementFormDefault=”qualified”>
<element name=”name”>
Re: i want to understand the contents of schema ?
What do you NOT understand?
The posted example basically imports two schemas http://www.w3.org/2001/XMLSchema and http://www.example.com/name
Re: i want to understand the contents of schema ?
thanks, i know why i use namespace "xmlns=”http://www.w3.org/2001/XMLSchema" but what is this mean "xmlns:target=”http://www.example.com/name”" and what is targetNamespace and the difference between it and normal namespace ? and also what is mean by "elementFormDefault=”qualified”" i read that u can modify the default specifying how element should be qualified but i can not understand what is the effect of it if i add it in my schema? plz give me simple explain if u can help me.