Hi
Thank you for reading my post.
Can some one please let me know whether I am correct about the following code snippet?
If we cound the link from 1 to 4 am I correct that
Line 1: define the XS namespace url to be able to use the xs prefix
Line 2: define that the XML document which will use this xsd should have shapes as its default xml namespace.
Line 3: default namespace of this document elements
line 4: I can not understand this line and why we should have both this line and line 2 and 3 or its relation with those lines
Can you please let me know which lines are manedatory and If I am mistaken with the line, what is the meaning of each line?
Thanks.
Thank you for reading my post.
Can some one please let me know whether I am correct about the following code snippet?
Code:
<xs:schema xmlns:xs="[URL unfurl="true"]http://www.w3.org/2001/XMLSchema"[/URL]
xmlns:shapes="[URL unfurl="true"]http://xml.tutorials.com/schema/shape"[/URL]
xmlns="[URL unfurl="true"]http://xml.tutorials.com/schema/shape"[/URL]
targetNamespace="[URL unfurl="true"]http://xml.tutorials.com/schema/shape">[/URL]
If we cound the link from 1 to 4 am I correct that
Line 1: define the XS namespace url to be able to use the xs prefix
Line 2: define that the XML document which will use this xsd should have shapes as its default xml namespace.
Line 3: default namespace of this document elements
line 4: I can not understand this line and why we should have both this line and line 2 and 3 or its relation with those lines
Can you please let me know which lines are manedatory and If I am mistaken with the line, what is the meaning of each line?
Thanks.