Go Back   CodingForums.com > :: Client side development > XML

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-28-2012, 12:06 PM   PM User | #1
nikos101
Senior Coder

 
nikos101's Avatar
 
Join Date: Dec 2006
Location: London
Posts: 1,004
Thanks: 58
Thanked 10 Times in 10 Posts
nikos101 is an unknown quantity at this point
Question what is the purpose of xmlns:xsd etc

what is the purpose of this xmlns:xsd="http://www.w3.org/2001/XMLSchema in does it actually do anything to my program? its just a webpage
__________________

nikos101 is offline   Reply With Quote
Old 04-28-2012, 06:05 PM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,584
Thanks: 5
Thanked 864 Times in 841 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
“xmlns” means “XML namespace”. In such a namespace document you can define the elements you want to use in your document. For example, XHTML is a namespace of an XML document (you might have noticed the xmlns="http://www.w3.org/1999/xhtml" on the <html> element in XHTML documents). If you have similarly named elements in your XML document you can differentiate them by assigning a namespace. Wikipedia has a good article about that.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 05-04-2012, 10:22 AM   PM User | #3
nikos101
Senior Coder

 
nikos101's Avatar
 
Join Date: Dec 2006
Location: London
Posts: 1,004
Thanks: 58
Thanked 10 Times in 10 Posts
nikos101 is an unknown quantity at this point
cheers VIP!
__________________

nikos101 is offline   Reply With Quote
Old 05-04-2012, 02:53 PM   PM User | #4
nikos101
Senior Coder

 
nikos101's Avatar
 
Join Date: Dec 2006
Location: London
Posts: 1,004
Thanks: 58
Thanked 10 Times in 10 Posts
nikos101 is an unknown quantity at this point
I see, so what does it do to effect the xml,
eg I have an xml which points to

http://schemas.microsoft.com/sqlserv...elWarrAndMain/
should it not point to
http://schemas.microsoft.com/sqlserv...arrAndMain.xsd
instead because that is where the schema info is?
__________________

nikos101 is offline   Reply With Quote
Old 05-31-2012, 10:12 AM   PM User | #5
williamxaviers
New Coder

 
Join Date: May 2012
Posts: 34
Thanks: 0
Thanked 2 Times in 2 Posts
williamxaviers is an unknown quantity at this point
Actually whatever coding a person would have done in his MVC or JSP pages, the same thing gets stored to XML and then while redirecting the page, it points to the page from where it has been taken from.
__________________
Benefit of indesign training
williamxaviers is offline   Reply With Quote
Old 06-01-2012, 06:22 AM   PM User | #6
Dormilich
Senior Coder

 
Dormilich's Avatar
 
Join Date: Jan 2010
Location: Behind the Wall
Posts: 2,855
Thanks: 9
Thanked 288 Times in 284 Posts
Dormilich is on a distinguished road
Quote:
Originally Posted by nikos101 View Post
I see, so what does it do to effect the xml,
it allows you to define and validate namespaces separately (even use the same names in different namespaces)
__________________
please post your code wrapped in [CODE] [/CODE] tags
Dormilich is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:13 AM.


Advertisement
Log in to turn off these ads.