Home | History | Annotate | Download | only in xml

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);
122 line.appendChild(createTag(node, false, true));
123 parentElement.appendChild(line);
129 line.appendChild(createTag(node, false, false));
131 line.appendChild(createText(child.nodeValue));
132 line.appendChild(createTag(node, true, false));
133 parentElement.appendChild(line);
140 collapsible.expanded.start.appendChild(createTag(node, false, false));
143 collapsible.expanded.end.appendChild(createTag(node, true, false));
145 collapsible.collapsed.content.appendChild(createTag(node, false, false));
146 collapsible.collapsed.content.appendChild(createText('...'));
147 collapsible.collapsed.content.appendChild(createTag(node, true, false));
148 parentElement.appendChild(collapsible);
155 line.appendChild(createComment('<!-- ' + node.nodeValue + ' -->'));
156 parentElement.appendChild(line);
160 collapsible.expanded.start.appendChild(createComment('<!--'));
161 collapsible.expanded.content.appendChild(createComment(node.nodeValue));
162 collapsible.expanded.end.appendChild(createComment('-->'));
164 collapsible.collapsed.content.appendChild(createComment('<!--'));
165 collapsible.collapsed.content.appendChild(createComment('...'));
166 collapsible.collapsed.content.appendChild(createComment('-->'));
167 parentElement.appendChild(collapsible);
175 line.appendChild(createText('<![CDATA[ ' + node.nodeValue + ' ]]>'));
176 parentElement.appendChild(line);
180 collapsible.expanded.start.appendChild(createText('<![CDATA['));
181 collapsible.expanded.content.appendChild(createText(node.nodeValue));
182 collapsible.expanded.end.appendChild(createText(']]>'));
184 collapsible.collapsed.content.appendChild(createText('<![CDATA['));
185 collapsible.collapsed.content.appendChild(createText('...'));
186 collapsible.collapsed.content.appendChild(createText(']]>'));
187 parentElement.appendChild(collapsible);
195 line.appendChild(createComment('<?' + node.nodeName + ' ' + node.nodeValue + '?>'));
196 parentElement.appendChild(line);
200 collapsible.expanded.start.appendChild(createComment('<?' + node.nodeName));
201 collapsible.expanded.content.appendChild(createComment(node.nodeValue));
202 collapsible.expanded.end.appendChild(createComment('?>'));
204 collapsible.collapsed.content.appendChild(createComment('<?' + node.nodeName));
205 collapsible.collapsed.content.appendChild(createComment('...'));
206 collapsible.collapsed.content.appendChild(createComment('?>'));
207 parentElement.appendChild(collapsible);
213 parentElement.appendChild(createText(node.nodeValue));
241 collapsible.appendChild(collapsible.expanded);
244 collapsible.expanded.start.appendChild(createCollapseButton());
245 collapsible.expanded.appendChild(collapsible.expanded.start);
249 collapsible.expanded.appendChild(collapsible.expanded.content);
252 collapsible.expanded.appendChild(collapsible.expanded.end);
257 collapsible.appendChild(collapsible.collapsed);
259 collapsible.collapsed.content.appendChild(createExpandButton());
260 collapsible.collapsed.appendChild(collapsible.collapsed.content);
320 tag.appendChild(textBeforeAttrs);
324 tag.appendChild(createAttribute(node.attributes[i]));
332 tag.appendChild(textAfterAttrs);
355 attribute.appendChild(textBefore);
356 attribute.appendChild(attributeName);
357 attribute.appendChild(textBetween);
358 attribute.appendChild(attributeValue);
359 attribute.appendChild(textAfter);