XML question

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

XML question

Post 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 :)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you mean the colon? ;)

it's a namespace followed by the actual tag name, from what I remember.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post 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()
Post Reply