should render hand wave with '👋 World!' and 'Hello World!'
<templateid="template1"><slot> Hello</slot>
World!
</template><custom-elementtag="dce-internal"src="#template1"></custom-element><!-- no need for loading fallback as the template exists --><dce-internal>👋</dce-internal><dce-internal></dce-internal>
Hello
World!
👋
World!
Hello
World!
Hello
World!
👋
2. without TAG, inline instantiation
hash value in SRC references template by ID. Should output 'construction' 2 times
<templateid="template2">
🏗️ construction
</template><custom-elementsrc="#template2"></custom-element><custom-elementsrc="#template2"></custom-element>
🏗️ construction
🏗️ construction
🏗️ construction
🏗️ construction
3. external SVG file
<custom-elementtag="dce-external"src="confused.svg"><template><i>loading from SVG ...</i></template></custom-element><dce-external></dce-external><custom-elementsrc="confused.svg"><i>inline DCE loading from SVG ...</i></custom-element><custom-elementsrc="no.svg"><i>fallback for missing image</i></custom-element>
loading from SVG ...inline DCE loading from SVG ...fallback for missing image
loading from SVG ...inline DCE loading from SVG ...fallback for missing image
4. external XSLT file
This external templates generated the tree for DCE data set
<custom-elementtag="dce-external-4"src="tree.xsl"><template><i>loading from XSLT ...</i></template></custom-element><dce-external-4title="DCE with external XSLT template"data-fruit="🍌">Hi</dce-external-4><custom-elementsrc="tree.xsl"data-smile="👼"data-basket="🍒"><i>inline DCE loading from XSLT ...</i></custom-element>
loading from XSLT ...Hiinline DCE loading from XSLT ...
loading from XSLT ...Hiinline DCE loading from XSLT ...
5. external HTML template
Should render 👋👌, svg, formula
<custom-elementtag="dce-external-5"src="html-template.html"><template><i>loading from HTML file ...</i></template></custom-element><dce-external-5title="DCE with external XSLT template"data-fruit="🍌">Hi</dce-external-5><custom-elementsrc="html-template.html"data-smile="👼"data-basket="🍒"><i>inline DCE loading from HTML file ...</i></custom-element>
loading from HTML file ...Hiinline DCE loading from HTML file ...
loading from HTML file ...Hiinline DCE loading from HTML file ...
<custom-elementsrc="./html-template.html#wave"><template><i>loading HTML from templates file ...</i></template></custom-element><custom-elementsrc="./html-template.html#dwc-logo"><template><i>loading SVG from templates file ...</i></template></custom-element><custom-elementsrc="./html-template.html#sophomores-dream"><template><i>loading MathML from HTML file ...</i></template></custom-element>
loading HTML from templates file ...loading SVG from templates file ...loading MathML from HTML file ...
loading HTML from templates file ...loading SVG from templates file ...loading MathML from HTML file ...
<custom-elementsrc="html-template.xhtml#embedded-xsl"><template>whole XSLT is embedded into HTML body</template></custom-element><custom-elementsrc="html-template.html#none"><template><i>element with id=none is missing in template</i></template></custom-element>
whole XSLT is embedded into HTML body
element with id=none is missing in template
whole XSLT is embedded into HTML body
element with id=none is missing in template
8. external file with embedding of another external DCE
Should render Vulcan Salute 🖖
<custom-elementsrc="embed-1.html">
loading from embed-1.html ...
</custom-element>
loading from embed-1.html ...
loading from embed-1.html ...
9. external file with invoking of relative template as hash by enclosed custom-element
Should render Vulcan Salute 🖖
<custom-elementsrc="./lib-dir/embed-lib.html#embed-relative-hash">
loading from embed-1.html ...
</custom-element>
loading from embed-1.html ...
loading from embed-1.html ...
10. external file with invoking of template in another relative path file by enclosed custom-element
Should render Vulcan Salute 🖖
<custom-elementsrc="./lib-dir/embed-lib.html#embed-relative-file">
loading from ./lib-dir/embed-lib.html ...
</custom-element>