-
January 5th, 2009, 09:08 AM
#1
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”>
-
January 5th, 2009, 09:34 AM
#2
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
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
January 5th, 2009, 10:49 AM
#3
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|