Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 PHP simpleXML editor.
Index -> Programming, PHP -> PHP Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
MossyMusic




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, PHP -> PHP Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: