Solved

Setting up and XSD

Posted on 2013-07-01
4
219 Views
Last Modified: 2013-07-03
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
Comment
Question by:Alyanto
  • 3
4 Comments
 
LVL 11

Accepted Solution

by:
lenordiste earned 500 total points
ID: 39291147
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
 
LVL 1

Author Comment

by:Alyanto
ID: 39291309
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
 
LVL 1

Author Comment

by:Alyanto
ID: 39296203
I am still reading through the article and it does answer the question I think I need to phrase a new question.
0
 
LVL 1

Author Closing Comment

by:Alyanto
ID: 39296205
Answered the question, thank you.   I think I now need to ask a further question which I will post shortly.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question