"Mike Kaply" <[EMAIL PROTECTED]> writes: > On 4/20/07, Nic James Ferrier <[EMAIL PROTECTED]> wrote: >> "David Janes" <[EMAIL PROTECTED]> writes: >> >> > The reason that there has been little discussion is that the rules for >> > dealing with this are well understood and settled. This document [1] >> > will give you everything you need -- written in 1995. >> > >> > Regards, etc... >> > >> > [1] http://www.ietf.org/rfc/rfc1808.txt >> >> I disagree. I think Mikey raises a good point. When you're parsing >> bits of data from a page with xslt or javascript you sometimes have to >> do the url resolution yourself and that is not as simple as it should >> be. >> > Actually for the record, in Javascript you never have to do it yourself. > > var bar = foo.getAttribute("href") > > foo is not resolved. > > var bar = foo.href > > foo IS resolved. > > Same with .src for images.
In the browser context you're right... can't remember if this is true in ajax imported docs? -- Nic Ferrier http://www.tapsellferrier.co.uk _______________________________________________ microformats-discuss mailing list [email protected] http://microformats.org/mailman/listinfo/microformats-discuss
