C# with HTML Tags -


i have website read in particular xml style file php , display content. people updating website aren't techincally minded , hoping create program coverting powerpoint type of xml i'm looking for.

i convert powerpoint -> rtf -> html. sample output below:

<p style="text-align:center;"><span style="background-color:#ffffff;font-family:calibri font-size:44pt;">title 1</span></p> <p><span style="background-color:#ffffff;font-family:calibri;font-size:32pt;">data in here.</span></p> <p>&nbsp;</p> <p><span style="background-color:#ffffff;font-family:calibri;font-size:32pt;">more data.</span></p> <p>&nbsp;</p> 

i wish read html line-by-line, interpreting tags , creating own file out of data.

i.e: every tag particular tag classed title, particular tag classed data.

example ouptut:

<file>     <item>         <title>title 1</title>         <data><p>data in here</p><p>&nbsp;</p><p>more data.</p></data>     </item> </file> 

(how) can done?

note: i not looking how remove tags: like here , and here

note2: the powerpoint not have fixed font/font-size. if possible, i'd sytle independant. if not work, done fixed template in powerpoint every title , data section same, having same tags?

have considered using wysiwyg plugin ckeditor or tinymce? meant for: "non technical" people. easy implement, , need save xml getting string out of textarea element. don't know project or if have other reasons using powerpoint, think take huge effort come better these plugins out of ppt.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -