I have an Atom service XML document (example at end of post) and I
need to select tags by name and with a specific namespace URI. The
equivalent to the following in normal DOM JS:

someXML.getElementsByTagNameNS( "http://www.w3.org/2005/Atom";,
"title" );

Is this possible in JQuery, or do I have to do something like this:

$( someXML.getElementsByTagNameNS( "http://www.w3.org/2005/Atom";,
"title" )  ).each( etc etc );



---------------------------
--------------------------- EXAMPLE DOC
---------------------------

<?xml version="1.0" encoding="utf-8"?>

<service xmlns="http://www.w3.org/2007/app"; xmlns:atom="http://
www.w3.org/2005/Atom">

        <workspace>

                <atom:title>Alio Tech</atom:title>

                <collection href="/lab/atom" >

                        <atom:title>My Blog Entries</atom:title>

                </collection>

        </workspace>


</service>

Reply via email to