W3C home > Mailing lists > Public > www-html@w3.org > November 2004

Re: Embedding attributes and including content, vs. XFrames

From: Trejkaz Xaoza <trejkaz@xaoza.net>
Date: Sat, 20 Nov 2004 14:18:20 +1100
To: Edward Lass <resefl.Swan_st.GOER@goer.state.ny.us>, www-html@w3.org
Message-Id: <200411201418.20519.trejkaz@xaoza.net>
On Sat, 20 Nov 2004 02:00, you wrote:
> I brought up a similar point in August.
>
> Here was the conclusion:
> http://lists.w3.org/Archives/Public/www-html/2004Aug/0008.html

Interesting.  I thought I was on the list back then, but I don't remember the 
topic coming up.

Anyway, it seems the result implies that

    <div type="text/html" src="sitemenu.html"/>

would be somewhat equivalent to

    <iframe src="sitemenu.html"/>

In that, a whole document is required.

But what if the "src" included is not a whole document, but just any fragment 
like in XInclude?  This is what I'm wondering.

In any case if we have already decided that XInclude is the way to go, if 
XInclude isn't explicitly mentioned in the XHTML2 spec then no browser will 
incorporate it in their XHTML2 support.

In addition to this, it seems that if I wanted my server to perform the 
include itself in cases where the client didn't support it, that there would 
be no way to detect which clients had support for this feature.  I hope I'm 
wrong.

But you know, the way I've been going at the moment, I would probably use 
XSL:T to achieve this functionality, by making every page point at a 
stylesheet which just inserts the bits into the appropriate places.

TX

-- 
             Email: Trejkaz Xaoza <trejkaz@xaoza.net>
          Web site: http://xaoza.net/
         Jabber ID: trejkaz@jabber.xaoza.net
   GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F  A62C B8C7 BC8B 037E EA73

Received on Saturday, 20 November 2004 03:17:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:01 GMT