title: Javascript event driven XML parser (SAX ?)
body: <p>I have use XSLT to transform my XMLs to plain HTML for sometime ...
  ...but I started to add more and more JS in the resulting HTML, and now it is just a bunch of JSON and display:none HTML tags.</p>
  
  <p>At that point, I'm reconsidering my initial XSLT choice.</p>
  
  <p>I was thinking of something more event oriented like SAX : parse the XML and trigger JS code that build my JS model.</p>
  
  <p>Is there a native JS api to do that ?
  Note that I'm very happy with XSLT and if I can just execute JS instead of writing to html output, I can reuse my XSLT code with almost no changes.</p>
  
  <p>Thanks in advance.</p>