Xml Namespaces In Jquery

Home

Xml Namespaces In Jquery, including xml namespaces in jquery in my blog, and xml namespaces in jquery talk in Folkestone.

Blog / forum etc:

xml namespaces in jquery

Aug31
Recommended / related

Dang I'm struggling with some work code that I really ought not be thinking about on a Friday night...

How do I access xml tags in other namespaces using jquery? If I have some xml like:



hey
yeah
woo



I can easily get any of the elements with something like
$('thing')
but how do I get them if the elements are namespaced, like




hey
yeah
woo




I'm simplifying a bit there, but I can't find any info online about how to get this out again; I can't access my elements with

$('stuff:thing')

because that means a stuff tag of type thing...

What am I missing? Do you know what I'm on about? Do you care?

jquery is a brilliant library that I use for everything at work (though I haven't really brought this site up to date with much of it), but I'm struggling to use it to process some like the geo:lat and geo:long in here...

I could really do with knowing this for a fairly funky work project, but equally I could do with not thinking about this on a Friday night...

UPDATE: Just ignore the namespace and get it like this:
$('lat, long', xml ).each( function () {
$('#debug').append( '

' + this.nodeName + '=' + $(this).text() + '

' );
} );

:: Comment / reply

RE: xml namespaces in jquery

Pictures

i dont have an answer to your q (sorry) but was wondering what you make of jquery? i've just started a new project for upmystreet and we're using prototype/scriptaculous but just had a look at the jquery site and it looks quite neat.

when are we going for beers?

:: 2 Sep :: :: Comment / reply

Also there's an xml feed of xml namespaces in jquery, a JSON feed, and a KML feed of xml namespaces in jquery .

Hope you found what you're looking for, if not please leave a message about "xml namespaces in jquery".

Add xml namespaces in jquery as a venue here, help me out, and the next person.

Google the site here

Google
Web this site