+ if ($type === 'application/atom+xml') {
+ $tagQuery = '/atom:feed/atom:link[';
+
+ } else if ($type === 'application/rss+xml') {
+ $tagQuery = '/rss/channel/link[';
+
+ } else {
+ $tagQuery = '/*[self::html or self::h:html]'
+ . '/*[self::head or self::h:head]'
+ . '/*[(self::link or self::h:link)'
+ . ' and';
+ }