Hi,<div><br></div><div>With the help of the cafe I&#39;ve been able to write up the xml parser using parsec - <a href="https://github.com/ckkashyap/really-simple-xml-parser/blob/master/RSXP.hs">https://github.com/ckkashyap/really-simple-xml-parser/blob/master/RSXP.hs</a></div>
<div><br></div><div>I am struggling with an idea though - How can I capture the parent element of each element as I parse? Is it possible or would I have to do a second pass to do the fixup?</div><div><br></div><div>Regards,</div>
<div>Kashyap</div>