PDA

View Full Version : textfield and textarea : edit xml data



mickarea
20 Nov 2010, 10:11 AM
Hi,

First, thank you very much for your library ! It's so easier to develop a webpage with it !


Second, I'm having trouble when i want to edit some xml data.

by example :

data1="<list><variable name=\"toto\" value\="3\" /> </list>" ;

when i want to show it in my Ext.grid.EditorGridPanel.

It doesn't show, nothing !
So in my php script i've done a htmlspecialchars.
Now I can see my data.

But the problem is when I want to edit my data ( i've choose textfield as editor ). I discovered something very horrible:

every '<' and '>' is remplaced by &lt; and &gt;

i don't want to see that ... I jsut want to be able to edit my "xml" data... is it possible ?


thanks in advance for the help !