Hi, all!
I have been watching a few videos on XML tables and I mostly understand them. However, I am unclear on one point: How is Is the value in the attribute xmlns assigned? Is it the the coder that makes it up based on arbitrarity? Does the coder look it up from a master table? (How that would be achieved is anyone’s guess.) Is there a convention that coders tend to follow, e.g., the value begins with a set URL, e.g., “http://www.w3.org/” but is concatenated with a coder-determined URL phrase, e.g., “TR/html4/”?
In an example, it looks like in pseudocode, the coder uses an arbitrary value, e.g.,
xmlns:h = “http://www.w3.org/” + “TR/html4/”
xmlns:f = “http://www.mnogojazyk.info”
I have also seen examples in which the xmlns attribute’s value ends with a forward slash and examples in which the xmlns attribute’s value ends without the forward slash. Which is it or does it matter and under what circumstances?
Many thanks.