0

hii
the following is my xml file..

<?xml version="1.0" encoding="UTF-8" ?>
- <categories>
- <medicines>
<url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114126\2.html</url>
<url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114126\3_001.html</url>
<url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114126\3.html</url>
<url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114126\4.html</url>
</medicines>
- <treatment>
<url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114723\anemia-treatment-with-home-remedies.html</url>
<url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114723\ayurveda-encyclopedia-w.html</url>
<url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421141322\alternative-treatments.html</url>
<url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421141322\aromatherapy.html</url>
<url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421141322\free-home-remedy.html</url>
</treatment>
</categories>

i want someone to help me to tell how to add a new url to the already existing xml file...new urls and categories will be stored in a file.I have to read that file,get the url and add it to the url node as its value under the particular node.pls help me in doing this..

2
Contributors
1
Reply
3
Views
7 Years
Discussion Span
Last Post by xml_looser
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.