I can think of 2 options: $this.find("name\\:funny").attr("post");
I'm not sure that will work. The other one: this.getElementsByTagName('name:funny')[0].getAttribute('post'); A non jQuery solution. Sometimes the only solution available. -- Ariel Flesler http://flesler.blogspot.com/ On 11 jul, 11:54, Ed <[EMAIL PROTECTED]> wrote: > I'm using this tutorial for xml consumption with jquery: > > http://www.webmonkey.com/tutorial/Easy_XML_Consumption_using_jQuery > > The tutorial includes this code example to find the value of the > "post" attribute in the node "name": > > studentPost = $this.find("name").attr("post"); > > But... It doesn't work if a namespace is added. For example, this > doesn't work: > > studentPost = $this.find("name:funny").attr("post"); > > Notice the ":funny" namespace above. > > The xml doc looks something like this: <name:funny post='ha ha'... > > How can I use JQuery to access the attribute value if there is a > namespace?