> Jaci Junior wrote: > How can I write A function that take a string xs and make another > file with the string: <html><head></head><body> xs </body></html> > using the file called text.txt If your input is well formatted XML, and you want apply some kind of transformation on it (a la XSLT), you should definitely have a look at the excellent HaXml library. http://www.cs.york.ac.uk/fp/HaXml/icfp99.html Alex -- Orbeon - Solutions for a Connected World - http://www.orbeon.com/ Personal Home Page - http://www.scdi.org/~avernet/
