Solved

targetNamespace usage

Posted on 2001-08-13
1
276 Views
Last Modified: 2006-11-17
Hi !
Can sombody clerify me please where and why targetNamespace is used in Schamas ?

Thanks
0
Comment
Question by:ab11
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
Wayne Bradney earned 50 total points
ID: 6381129
ab11,

Namespaces allow the use of identical names in different contexts or vocabularies. For instance, both a building and a person may have HEIGHT, and you'd like to use "HEIGHT" as an element name to represent both concepts. However, if you wanted to put both a person and a building into the same XML document, you'd have to qualify which HEIGHT you were referring to in each case. That's what targetNamespace is for -- when you use a schema to validate a document, you can state which namespace the declarations in the schema are from. eg. PERSON and BUILDING would be defined in different target namespaces.

Regards,
WMB
0

Featured Post

Linux Academy Android App Now Supports Chromecast

We have some fantastic news for our Android fans. We’re so excited to announce that the Linux Academy Android app is now available with Chromecast support. That’s right – simply download the latest update of the Linux Academy App and start casting your favorite course videos!

Question has a verified solution.

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

628 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