Actually, as of last night the templates can be valid xml. Thanks
again for the input. :)
xinclude seems like a fairly straightforward specification - I think
it should be possible to implement <include href=""> and <fallback>.
At least for relative href values. Not sure if xpointer would be
practical. The parse="text" attribute might be pretty useful.
I think the usage between import and include might be a little
different though both would be useful. It sounds like xinclude
specification brings the target contents into being at the location of
the include, while the import would bring in the declarations of a
global nature (member properties, functions, using namespaces) but any
of the contents.
Trying to think of a good example... Like it should be safe to import
a file multiple times and from different places (e.g. putting the same
import into a few different partials) where an include would cause a
problem with duplicate declarations.
> <
torkel.odega...@gmail.com>wrote: