[crschmid@uiuc.edu: Re: [rdfweb-dev] Foafer firefox extension]

Taral taral at taral.net
Thu Jul 29 17:09:50 UTC 2004


On Thu, Jul 29, 2004 at 04:55:36PM +0000, Joel De Gan wrote:
> link rel is easy:
> getElementsByTagName('link')

You're better off using this:

document.evaluate('head/link[@rel="meta" and lower(@title)="foaf" and @type="application/rdf+xml"]/@href', document, null, XPathResult.UNORDERED_NODE_ITERATOR_TYPE, null)

-- 
Taral <taral at taral.net>
This message is digitally signed. Please PGP encrypt mail to me.
"Some people cause happiness wherever they go; others, whenever they go."
    -- Oscar Wilde
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.usefulinc.com/pipermail/foaf-dev/attachments/20040729/07337e34/attachment-0001.pgp


More information about the foaf-dev mailing list