Searched refs:template (Results 1 – 25 of 62) sorted by relevance
123
12 <template>a<div>foo</div>b</template>27 $template->innerHTML = $template->innerHTML;29 var_dump($template->innerHTML);47 $template->remove();48 unset($template);51 $template = $dom->createElement('template');57 First child of template: NULL68 <template>a<div>foo</div>b</template>72 <template>a<div>foo</div>b</template>77 <template>a<div>foo</div>b</template>[all …]
2 <template> element manual creation11 $template = $dom->appendChild($dom->createElement("template"));12 var_dump($template->innerHTML);18 $template->innerHTML = "<p>hello</template></p>";19 var_dump($template->innerHTML);20 var_dump($template->firstChild);29 <template xmlns="http://www.w3.org/1999/xhtml"></template>30 <template></template>35 <template xmlns="http://www.w3.org/1999/xhtml"><p>hello</p></template>36 <template><p>hello</p></template>
2 <template> element nesting12 <template>foo<template>bar</template></template>17 $template = $dom->body->firstElementChild;18 var_dump($template->innerHTML);23 string(27) "foo<template>bar</template>"27 <template>foo<template>bar</template></template>
2 <template> element renaming12 <template>a<div>foo</div>b</template>17 $template = $dom->body->firstElementChild;18 var_dump($template->innerHTML);21 $template->rename($template->namespaceURI, 'screwthis');27 var_dump($template->nodeName);28 var_dump($template->innerHTML);33 It is not possible to rename the template element because it hosts a document fragment
2 <template> element no default namespace12 <template>a<div>foo</div>b</template>17 $template = $dom->getElementsByTagName('template')[0];18 var_dump($template->innerHTML);19 var_dump($template->firstElementChild->tagName);
2 SimpleXML and template content12 $dom = Dom\HTMLDocument::createFromString('<template>foo<template>nested</template></template>', LI…17 unset($head_sxe->template);23 ["template"]=>
7 $dom = Dom\HTMLDocument::createFromString('<template>x</template>', LIBXML_NOERROR);13 <template xmlns="http://www.w3.org/1999/xhtml"></template>14 <template></template>
2 template content indirect removal11 $dom = Dom\HTMLDocument::createFromString('<template>foo<template>nested</template></template>', LI…
19 $template = $dom->createElement('template');20 $template->innerHTML = '<p>foo</p>';21 var_dump($template->outerHTML);28 string(31) "<template><p>foo</p></template>"
13 <xsl:template match="/">14 <xsl:call-template name="recurse"/>15 </xsl:template>17 <xsl:template name="recurse">18 <xsl:call-template name="recurse"/>19 </xsl:template>35 Warning: XSLTProcessor::transformToDoc(): runtime error: file %s line 8 element call-template in %s…37 …r::transformToDoc(): xsltApplySequenceConstructor: A potential infinite template recursion was det…38 You can adjust $maxTemplateDepth in order to raise the maximum number of nested template calls and …
13 <xsl:template match="/">14 <xsl:call-template name="recurse"/>15 </xsl:template>17 <xsl:template name="recurse">19 <xsl:call-template name="recurse">21 </xsl:call-template>22 </xsl:template>32 // Set the template depth limit so high that we will certainly hit the variable depth limit first.42 Warning: XSLTProcessor::transformToDoc(): xsltApplyXSLTTemplate: A potential infinite template recu…
10 …"http://www.w3.org/1999/XSL/Transform"><xsl:template match="root"><xsl:text>success</xsl:text></xs…
18 <xsl:template match="/">20 </xsl:template>
26 <xsl:template match="//a">'28 '</xsl:template>
14 <xsl:template match="/">16 </xsl:template>
21 <xsl:template match="/root">24 </xsl:template>
13 …t method="text"/><xsl:param name="foo"/><xsl:template match="/"><xsl:value-of select="$foo"/></xsl…
18 $dom->body->outerHTML = '<template><p>foo</p></template>';19 var_dump($dom->body->querySelector('p')); // Should be NULL because the template contents do not pa…33 <html xmlns="http://www.w3.org/1999/xhtml"><head></head><head><template><p>foo</p></template></head…34 <html><head></head><head><template><p>foo</p></template></head><body></body></html>
22 template=$126 if test -z "$template"; then48 cat $template | \
155 template <typename T>286 template < int N >369 template <int...>378 template <>401 template<typename T>404 template<typename T>407 template<typename T>620 template<template<typename> typename X> struct D;769 template <bool cond>836 template <auto n>[all …]
2 <xsl:template match="cd">6 </xsl:template>
7 <xsl:template match="collection">10 </xsl:template>
66 * files that make up the snapshot template? */67 ARG_WITH("snapshot-template", "Path to snapshot builder template dir", "no");118 if (FSO.FolderExists(PHP_PHP_BUILD + "\\template")) {119 PHP_SNAPSHOT_TEMPLATE = FSO.GetAbsolutePathName(PHP_PHP_BUILD + "\\template");120 } else if (FSO.FolderExists(PHP_PHP_BUILD + "\\..\\template")) {121 PHP_SNAPSHOT_TEMPLATE = FSO.GetAbsolutePathName(PHP_PHP_BUILD + "\\..\\template");
18 <xsl:template match="/root">22 </xsl:template>
Completed in 18 milliseconds