This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a question about XML schema and XML (newbie)

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thank you for reading my post.
I am learning XSD and xml from w3cscholl and i can not understand some of it. can you please look at this xml and xsd and answer my questions?



in the above we see both targetNamespace and xmlns, what are they and why they appear in XSD?


Thanks.
 
Paul Clapham
Sheriff
Pie
Posts: 20764
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all, do you know what namespaces are used for in XML and how they are commonly used? Probably not, most people don't really understand them. So I would suggest you read a tutorial about namespaces. I am not impressed by the w3schools tutorial, they are quite superficial. The namespace tutorial at zvon.org is more thorough.

When you have done that, I found this paper on how to use namespaces in schemas that looks like it goes through how to configure things quite well.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic