Hello,
I am working on making a flash site dynamic by using XML. I have already made the flash site read the XML perfectly, but i now have to make a back end where the owner can go in and post new news or edit his articles.
I put a tinymce on the page and want to basically store HTML inside an XML tag.
so basically i would have something like
<article><fon t size="10px">thi s is news</font></article>
but i dont want the xml parser to see the HTML and think it is XML,
i would want to get a string like "<font size=\"10px\">t his is news</font>" so flash can draw the text with the formatting.
To fix this in flash i simply escaped all the <, >, = signs with <, >, and &eq;(i know that one isnt real but for some reason the = was throwing off the parser anyway.)
I was wondering what the best approach would be to being able to insert/delete/edit the <article> tags and store the HTML information inside the XML tags(phps xml parser doesnt like the &eq; and gives me a problem, but flashs parser doesnt.)
Thanks alot,
Ken Koch
Essence Designs
I am working on making a flash site dynamic by using XML. I have already made the flash site read the XML perfectly, but i now have to make a back end where the owner can go in and post new news or edit his articles.
I put a tinymce on the page and want to basically store HTML inside an XML tag.
so basically i would have something like
<article><fon t size="10px">thi s is news</font></article>
but i dont want the xml parser to see the HTML and think it is XML,
i would want to get a string like "<font size=\"10px\">t his is news</font>" so flash can draw the text with the formatting.
To fix this in flash i simply escaped all the <, >, = signs with <, >, and &eq;(i know that one isnt real but for some reason the = was throwing off the parser anyway.)
I was wondering what the best approach would be to being able to insert/delete/edit the <article> tags and store the HTML information inside the XML tags(phps xml parser doesnt like the &eq; and gives me a problem, but flashs parser doesnt.)
Thanks alot,
Ken Koch
Essence Designs
Comment