[whatwg] Client-side includes proposal

Kristof Zelechovski giecrilj at stegny.2a.pl
Mon Aug 18 00:54:57 PDT 2008


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 at 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>







More information about the whatwg mailing list