- From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
 - Date: Mon, 18 Aug 2008 09:54:57 +0200
 
Client-side includes make a document transformation, something which
logically belongs XSLT rather than HTML.  And what would the workaround for
legacy browsers be?
Chris
-----Original Message-----
From: whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Shannon
Sent: Monday, August 18, 2008 8:34 AM
To: WHAT working group
Subject: [whatwg] Client-side includes proposal
The proposal would work like this:
--- Master Document ---
<html>
    <head>
       <title>Include Example</title>
       <meta name="includes" content="allow">
       <include src="global_head.ihtml">
    </head>
    <body>
          <include src="header.ihtml">
          <include src="http://www.pagelets.com/foo.ihtml">
          <include src="footer.ihtml">
    </body>
</html>
--- Header.html ---
<div id="header">
    <h1>Header</h1>
</div>
Received on Monday, 18 August 2008 00:54:57 UTC