Populate text within cdata from another xml

accidentgirlies

New Member
plz help this is my code first xml - \[code\]mainfood.xml\[/code\]\[code\]<?xml version="1.0" encoding="utf-8"?><!DOCTYPE doc [<!ENTITY fooditems SYSTEM "foodnames.xml">]><content><section name="pages"> <page name="food"> <texts><pageText> <![CDATA[<font face="arial">food</font>]]></pageText><pageText><![CDATA[&fooditems;]]></pageText></texts> </page> </section></content>\[/code\]2nd xml - \[code\]foodnames.xml\[/code\]\[code\]<?xml version="1.0" encoding="utf-8"?><a >? <font face="Georgia">chicken biryani<br></a></font><a >? <font face="Georgia">manchurian<br></a></font><a >? <font face="Georgia">aloo dum<br></a></font><a >? <font face="Georgia">sushi<br></a></font>\[/code\]basically i want tht lines like \[code\]<a >? <font face="Georgia">chicken biryani<br></a></font>\[/code\] be read from \[code\]foodnames.xml\[/code\] and populated into \[code\]mainfood.xml\[/code\] in place of \[code\]&fooditems;\[/code\]but the code is not working....somene plz plz help
 
Back
Top