Hi David,
I see no reason not to use TagSoup for this, assuming it does what you
want. It wasn't really designed for either modification or round
tripping, so be careful that things like entities don't become
corrupted. Also note that this won't replace all the contents of the
Content tag, only
Hello café,
I have seen tutorials about extracting information from a tag soup, but I
have a different use case:
I want to read a xml file, find a tag, change its content, and write the xml
file back.
This is an example of the files
?xml version=1.0 encoding=UTF-8 standalone=yes?
idPkg:Story
I really wouldn't use tag soup for this. Haskell has libraries specifically
for XML processing which might be better suited to your needs.
On Fri, Dec 3, 2010 at 5:59 AM, David Virebayre
dav.vire+hask...@gmail.comdav.vire%2bhask...@gmail.com
wrote:
Hello café,
I have seen tutorials about