- From: Erik Wilde <notifications@github.com>
- Date: Fri, 26 Feb 2016 06:45:32 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Friday, 26 February 2016 14:46:02 UTC
On 2016-02-26 11:59 , Hayato Ito wrote: > Could you elaborate? I appreciate if you have the concrete example. generally speaking, i am asking about binding the functionality to markup as well, not just to an API. this is what XInclude has been doing for the XML world: https://www.w3.org/TR/xinclude/ for HTML, you very likely don't want the exact same syntax, but something similar. something like <include href="..." mode="html"/> for including an external snippet of HTML. <include href="..." mode="text"/> could be used to include a file as plain text (i.e., as a text node). and finally, fallback behavior could look like this: <include href="...> <p>it seems like the include failed...</p> </include> none of this probably is exactly what the markup really should look like, but that's the general idea behind this issue. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/398#issuecomment-189309300
Received on Friday, 26 February 2016 14:46:02 UTC