View Full Version : XML Adding nodes with a context menu / edit node names

03-30-2009, 01:52 PM

i am use XML for few last weeks, normal in prevoius i use basic straght forward XML like data etc but never go in depth

i am looking for example of Adding nodes with a context menu / edit node names


but this is XUL, i want XML smiliar some like that that can load XML files without depend on SQL Query script etc


this is what i want, cos User can change Node from time to time like Child 1 in few month or next week, user what change Child 1="internal" or "external"

so i want user can click on rename, add, delete on xml

Alex Vincent
03-31-2009, 08:19 AM
For generic XML, you pretty much have to write your own. How are you displaying the content you wish the user to edit?

Note there's a good number of DHTML collapsible menu widgets available (CF's sister site, JavaScriptKit, has a few), but they might not involve well-formed XML - so you might end up doing a bit of editing on the source code.

You can include a JavaScript with a XHTML script element:

<html:script type="application/javascript"
/* your code here */


03-31-2009, 10:46 AM

that making sense, lucky i am good at javascript and AJAX..I should cope on!! cos i was working Drupal with PHP...using Simple XML and Parase XML..i was trying for many weeks to get...but in last few days..i just knew it do with javascript.. now i have to catch it up