title: How to parse an XML to S-Expression for lisp using C#?
body: <p>I want to be able to load any xml file and convert it into s-expression for lisp. Does anyone have an idea how this could be done using c#?</p>
  
  <p>I have no prior experience in working either with lisp or s-expression and my main problem is that I can't figure out how to represent s-expression structure in code.</p>
  
  <p>I'd appreciate any hint on that.</p>
  
  <p>I was thinking of using linq to xml and maybe deserialize this xml to c# objects, and then serialize it to s-expression and but I'm not sure if that's the right way to do this.</p>
  
  <p>e.g.
  That's what I load:</p>
  
  <pre><code>&lt;document author="paul@prescod.net"&gt;
  &lt;para&gt;This is a paragraph &lt;footnote&gt;(just a little one)&lt;/footnote&gt;.&lt;/para&gt;
  &lt;para&gt;Ha! I made you say "underwear".&lt;/para&gt;
  &lt;/document&gt;
  </code></pre>
  
  <p>That's what I would like to receive:</p>
  
  <pre><code>(document author: "paul@prescod.net"
    (para "This is a paragraph " (footnote "(better than the one under there)") ".")
    (para "Ha! I made you say \"underwear\"."))
  </code></pre>