U're right maybe i'm not explaining well! I'll try again...
The documents are uploaded onto a Linux server. These documents can be of any type ...Word, open office, pdf etc. When the client tries to view a file it has to be viewed as HTML only. What i'm asking is if i can read the document before being uploaded , parse it and make it suitable as HTML (can use XML/XSL) then save it in a MYSQL database for retrieval. Later on this document can be ammended or scrapped!
Hope i made myself a little bit clearer!
thanks
Nick