• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

Setting up and XSD

I have added an XSD file to my project but upon reading the various sources the samples read something like Imports <xmlns:ns="http://someNamespace"> to make a reference.  I am finding this a little confusing in terms of this makes no sense in my files case.

Can someone point me in the right direction with this please?
0
Alyanto
Asked:
Alyanto
  • 3
1 Solution
 
lenordisteCommented:
this is not that different from the concept of namespaces in .NET programming languages. If you don't feel inspired, just replace it with your project or company URI (not the best but at least it's something and may cause less issues than leaving it blank).... The main benefit of the namespace is that it helps avoid naming collisions and should thus be unique.

here is a good read if you are interested in the topic:
http://msdn.microsoft.com/en-us/magazine/cc302166.aspx
0
 
AlyantoAuthor Commented:
I was under the impression that the XSD file needed referencing so that the intellisense worked correctly for the XML.  Am I heading in the wrong direction perhaps?
0
 
AlyantoAuthor Commented:
I am still reading through the article and it does answer the question I think I need to phrase a new question.
0
 
AlyantoAuthor Commented:
Answered the question, thank you.   I think I now need to ask a further question which I will post shortly.
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now