java - Android insert text to xhtml file on the fly -


i create fixed template application store on assets folder (template.xhtml) , want use file after user finish edit data , need replace data in body tag data on fly. every time want use file copy file assets folder internal folder in application. xhtml file this: (example)

<html>    <head>   </head>   <body>   ~dedication~   </body> </html> 

what want replace "~dedication~" string after user finish edit file. i'd love know how analyze file , how replace text. thank can help. :)


Comments

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -