I need to take user input from a web page and write it to a word document.
Im using a wysywyg editor that allows bullet points with the output being a html list.
I need to then convert that to Word XML.
Any suggestions?
I have the syntax/structure for the XML bullet lists but I need to convert the html list to the xml bullet point list.
Maybe preg_replace? I'm not 100% how to do that though