[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: About namespaces
> -----Original Message----- > From: SwetaG@r... [mailto:SwetaG@r...] > Sent: 28 June 2001 13:12 > To: xml-dev@l... > Subject: About namespaces > > > Hi, > I know how name spaces are used and how they are declared.The > question that comes to my mind is that how do i create the namespaces. > > > Like for the microsoft xdr schemas there is a namesapce called > urn:schemas-microsoft-com:xml-data where the things are defined.Basically > what is defined there..the schema tags and vocabulary or its sth else. You namespace can be any valid URI. That includes URNs as Microsoft are using. Exactly what, if anything, should be referenceable at that URI is a "Frequently Debated Question". See: http://www.xml.com/pub/a/2001/01/10/rddl.html The short answer is that you don't have to do anything other than decide on which URI to use. If you want to add some useful resources at that URI then consider using RDDL. See: http://www.xml.com/pub/a/2001/02/28/rddl.html > Suppose i want to create my own namespaces and want others to use the how > do i do it??for example i want that there are few elements say > <book>,<isbnno>,<author> and they are defied in name spaces.So how do i > define them first of all and then how do i create the namesapce so that > others can use them. RDDL allows you to provide both machine and human readable documentation for your namespace. This can include schemas, code, schema documentation, etc. Hope that helps, L. -- Leigh Dodds, Systems Architect | "Pluralitas non est ponenda http://weblogs.userland.com/eclectic | sine necessitate" http://www.xml.com/pub/xmldeviant | -- William of Ockham
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|