Lines Matching refs:appendChild

37     html.appendChild(head);
40 head.appendChild(style);
42 html.appendChild(body);
45 body.appendChild(sourceXML);
51 sourceXML.appendChild(child);
53 document.appendChild(html);
56 body.appendChild(header);
59 header.appendChild(headerSpan);
61 header.appendChild(createHTMLElement('br'));
64 body.appendChild(tree);
77 //document.head.appendChild(style);
125 line.appendChild(createTag(node, false, true));
126 parentElement.appendChild(line);
132 line.appendChild(createTag(node, false, false));
134 line.appendChild(createText(child.nodeValue));
135 line.appendChild(createTag(node, true, false));
136 parentElement.appendChild(line);
143 collapsible.expanded.start.appendChild(createTag(node, false, false));
146 collapsible.expanded.end.appendChild(createTag(node, true, false));
148 collapsible.collapsed.content.appendChild(createTag(node, false, false));
149 collapsible.collapsed.content.appendChild(createText('...'));
150 collapsible.collapsed.content.appendChild(createTag(node, true, false));
151 parentElement.appendChild(collapsible);
158 line.appendChild(createComment('<!-- ' + node.nodeValue + ' -->'));
159 parentElement.appendChild(line);
163 collapsible.expanded.start.appendChild(createComment('<!--'));
164 collapsible.expanded.content.appendChild(createComment(node.nodeValue));
165 collapsible.expanded.end.appendChild(createComment('-->'));
167 collapsible.collapsed.content.appendChild(createComment('<!--'));
168 collapsible.collapsed.content.appendChild(createComment('...'));
169 collapsible.collapsed.content.appendChild(createComment('-->'));
170 parentElement.appendChild(collapsible);
178 line.appendChild(createText('<![CDATA[ ' + node.nodeValue + ' ]]>'));
179 parentElement.appendChild(line);
183 collapsible.expanded.start.appendChild(createText('<![CDATA['));
184 collapsible.expanded.content.appendChild(createText(node.nodeValue));
185 collapsible.expanded.end.appendChild(createText(']]>'));
187 collapsible.collapsed.content.appendChild(createText('<![CDATA['));
188 collapsible.collapsed.content.appendChild(createText('...'));
189 collapsible.collapsed.content.appendChild(createText(']]>'));
190 parentElement.appendChild(collapsible);
198 line.appendChild(createComment('<?' + node.nodeName + ' ' + node.nodeValue + '?>'));
199 parentElement.appendChild(line);
203 collapsible.expanded.start.appendChild(createComment('<?' + node.nodeName));
204 collapsible.expanded.content.appendChild(createComment(node.nodeValue));
205 collapsible.expanded.end.appendChild(createComment('?>'));
207 collapsible.collapsed.content.appendChild(createComment('<?' + node.nodeName));
208 collapsible.collapsed.content.appendChild(createComment('...'));
209 collapsible.collapsed.content.appendChild(createComment('?>'));
210 parentElement.appendChild(collapsible);
216 parentElement.appendChild(createText(node.nodeValue));
244 collapsible.appendChild(collapsible.expanded);
247 collapsible.expanded.start.appendChild(createCollapseButton());
248 collapsible.expanded.appendChild(collapsible.expanded.start);
252 collapsible.expanded.appendChild(collapsible.expanded.content);
255 collapsible.expanded.appendChild(collapsible.expanded.end);
260 collapsible.appendChild(collapsible.collapsed);
262 collapsible.collapsed.content.appendChild(createExpandButton());
263 collapsible.collapsed.appendChild(collapsible.collapsed.content);
322 tag.appendChild(textBeforeAttrs);
326 tag.appendChild(createAttribute(node.attributes[i]));
334 tag.appendChild(textAfterAttrs);
357 attribute.appendChild(textBefore);
358 attribute.appendChild(attributeName);
359 attribute.appendChild(textBetween);
360 attribute.appendChild(attributeValue);
361 attribute.appendChild(textAfter);