Solved

Setting up and XSD

Posted on 2013-07-01
4
215 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Populating an array of locale_time_info 8 37
Convert an ASPX page into PDF 7 22
Get Top Visible Row of Datagridview 6 27
SQL Exceptions 3 36
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

919 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now