Solved

Setting up and XSD

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

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.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

830 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