Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / XML / September 2004

Tip: Looking for answers? Try searching our database.

Novice question about namespaces

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
flycast - 29 Sep 2004 21:05 GMT
I have heard that using xml for configurations on applications is a good
thing. I have started to work with learning xml and have seen this
"http://tempuri.org" showing up automatically when I create the schema. I
have visited the site and it makes me think that I will have to post a schema
to a web site in order to use xml.

I am sure that this is not true so can somebody point me in the direction on
using xml for storing application configurations for a vb.net stand alone pc
type application?

Thanks,
Eric Snyder
Mickey Williams [C# MVP] - 29 Sep 2004 22:05 GMT
http://tempuri.org is injected by some tools as a namespace when no
namespace is explicitly provided. The namespace is just a scoping
mechanism -- since I own the servergeek.com domain, I can tag my types with
namespaces like:

http://schemas.servergeek.com/2004/09

because I have some implicit rights to the domain, and it's unlikely that
another developer would use my domain as part of their namespace.

You definitely do not need to post the schema at the address -- the URI in
the schema is not intended to be dereferenced from the namespace
declaration.

A somewhat dry but best-evidence document on namespaces is available at
W3.org:
http://www.w3.org/TR/REC-xml-names/

Signature

Mickey Williams
Author, "Visual C# .NET Core Ref", MS Press
www.neudesic.com
www.servergeek.com

> I have heard that using xml for configurations on applications is a good
> thing. I have started to work with learning xml and have seen this
[quoted text clipped - 8 lines]
> Thanks,
> Eric Snyder

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.