Hi,
I have the following xpath query which seems to be working but I just want to be sure its not incorrect:
//link[@type='application/rss+xml' or @type='application/atom+xml' and @rel='alternate']
The purpose is to do feed autodiscovery from a web page.
What I want it to do is:
all link tags with either (rss or atom) and rel alternate
but what I suspect it is doing is
all link tags with either (rss) or (atom and rel alternate)
Can anyone clarify if this is the case and also provide the correct query if I have made a mistake?
Thanks