Solved

Setting up and XSD

Posted on 2013-07-01
4
214 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
Comment Utility
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
 

Author Comment

by:Alyanto
Comment Utility
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
 

Author Comment

by:Alyanto
Comment Utility
I am still reading through the article and it does answer the question I think I need to phrase a new question.
0
 

Author Closing Comment

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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

17 Experts available now in Live!

Get 1:1 Help Now