Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 2nd, 2005, 07:55 AM
Registered User
 
Join Date: Mar 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Clarification on Namespace

  We specify xmlns:<prefix>=URL/URI. What is the significance of the URI/URL. This is just a name or does a physical resource pointed to by the URL/URI have to exist?

Thanks,
Sathya
 
Old March 2nd, 2005, 10:24 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

It doesn't have to exist, it's just a unique ID.

In practice most parsers accept anything so "abcde" would do but there are best practices and official rules about what to use. See http://www.w3.org/TR/REC-xml-names/

and

http://www.w3schools.com/xml/xml_namespaces.asp



--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
xsl clarification... rajesh_css XSLT 1 October 2nd, 2008 01:56 AM
Technical Clarification Reqd. saravananedu Access ASP 1 November 26th, 2006 06:14 PM
STL's clarification sspr C++ Programming 1 February 23rd, 2006 04:43 AM
clarification in xslt rameshnarayan XSLT 0 August 23rd, 2005 02:28 AM
design issue(clarification) eyan C# 0 February 19th, 2004 12:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.