Page 1 of 1

XML question

Posted: Thu Mar 16, 2006 11:38 pm
by alex.barylski
What is the meaning of tags when they are proceeded by a semi-colon and another name???

ie:

Code: Select all

<cust:app name="name" value="value">
What purpose does that semi-colon serve???

Thanks :)

Posted: Thu Mar 16, 2006 11:57 pm
by feyd
you mean the colon? ;)

it's a namespace followed by the actual tag name, from what I remember.

Posted: Fri Mar 17, 2006 12:50 am
by alex.barylski
feyd wrote:you mean the colon? ;)

it's a namespace followed by the actual tag name, from what I remember.
Thats what I thought...

But how then do you close a namespace?

<namespace:tagname>

</tagname>

OR

</namespace:tagname>

And how would I use getElementByName()