Yes; if you wanted to select on a:title, you'd use a:title (or, more likely, use the default namespace for Atom).


On 19/12/2007, at 11:25 AM, James Holderness wrote:


By default, a selector is treated as an XML QName
[W3C.REC-xml-names-19990114] which selects any and all child elements
of the entry element which share the same syntax (i.e., the same
prefix and localname; the namespace URI is not considered)

I'm not sure I follow this. If the selector is "title", and your entry looks like this:

<a:entry xmlns:a="http://www.w3.org/2005/Atom";>
<a:title>Test</a:title>
</a:entry>

does that mean you won't match anything?

Regards
James



--
Mark Nottingham     http://www.mnot.net/

Reply via email to