Computer Science Canada PHP simpleXML editor. |
Author: | MossyMusic [ Wed Jan 12, 2011 2:06 pm ] |
Post subject: | PHP simpleXML editor. |
I've been trying to find a working php editor for an xml document. I've been researching this over the past couple days. Which has failed me. what I need the php for is to edit a simple xml that displays news text/information. Which builds up instead of replacing as-well. Quote: <?xml version="1.0" encoding="utf-8" standalone="yes"?>
<content Name="LATEST NEWS"> <article Thumb="news/Iconimagejpg" Large ="news/iconimagebig.png"> <headline>HEADLINE TEXT HERE</headline> <date>07 December 2010</date> <copy_intro><![CDATA[INTRODUCTION TO THE SIMPLE DISPLAY BEFORE CLICKING "READ MORE"]]></copy_intro> <copy_full><![CDATA[ THE FULL TEXT OF THE NEWS INFORMATION HERE~~~]]></copy_full> <copy_pic><![CDATA[THE TEXT UNDER THE IMAGE]]></copy_pic> </article> </content> The things in red are the variables I wish to edit. in a simple html text following a php script, following the input information in green. complicated.... editing xml. |