Swapnil Posted March 7, 2009 Share Posted March 7, 2009 Hi all, I am new to PHP. I want to update XML Node value, My XML is static and can be have different structure. I can get XMLNode name as "Assessments.Questions.Question[0].QuestionText" from client side application, and XML can look like. <Assessments> <Questions> <Question> <QuestionText>QuestionText 11111111</QuestionText> <Options> <Option><![CDATA[AAAAAAAAAAAAAAA]]></Option> <Option><![CDATA[bBBBBBBBBBBBBBB]]></Option> <Option><![CDATA[CCCCCCCCCCCCCCC]]></Option> <Option><![CDATA[DDDDDDDDDDDDDDD]]></Option> </Options> </Question> <Question> <QuestionText>QuestionText 222222222</QuestionText> <Options> <Option><![CDATA[EEEEEEEEEEEEEEE]]></Option> <Option><![CDATA[FFFFFFFFFFFFFFF]]></Option> <Option><![CDATA[GGGGGGGGGGGGGGG]]></Option> <Option><![CDATA[HHHHHHHHHHHHHHH]]></Option> </Options> </Question> </Questions> </Assessments> User may select any node to edit and PHP will get updated nodeValue and nodeName. Thanks in advance. Regards, Swapnil. Quote Link to comment Share on other sites More sharing options...
RussellReal Posted March 7, 2009 Share Posted March 7, 2009 some attempted code would be nice.. lol, not to be rude, but if you're looking for people to write a script for you, there is a freelance forum where people do exactly that.. but here we help with errors and problems. Quote Link to comment Share on other sites More sharing options...
alphanumetrix Posted March 7, 2009 Share Posted March 7, 2009 i can do it for you. send me an email: info@akatsukidesigns.com Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.