<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>60590</integer>
    </number>
    <user>
      <string>v0|d</string>
    </user>
    <title>
      <string>HTML Parser/Render for Core-Server</string>
    </title>
    <contents>
      <string>(let ((element (dom-element? 
			(make-core-stream &quot;&lt;html&gt;&lt;body&gt;&lt;div id='content'&gt;Loading please wait..&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&quot;))))
	  (core-search (list element)
		       (lambda (element)
			 (if (and
			      (typep element 'dom-element)
			      (equal (cdr (assoc &quot;id&quot; (attributes element) :test #'equal))
				     &quot;content&quot;))		     
			     (setf (children element) (list &quot;I'm content!&quot;))))
		       #'dom-successor
		       #'append)
	  (with-html-output *core-output* element))
&lt;html&gt;
  &lt;body&gt;
    &lt;div id=&quot;content&quot;&gt;I'm content!&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;#&lt;CORE-STANDARD-OUTPUT {1002D98F41}&gt;</string>
    </contents>
    <universal-time>
      <integer>3419512601</integer>
    </universal-time>
    <channel>
      <string>None</string>
    </channel>
    <colorization-mode>
      <string>Common Lisp</string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <keyword>TRUE</keyword>
    </is-unicode>
  </paste>
</paste-with-annotations>