I have a DCT, inside that there is a attribute to Browse the xml file from another branch.
Below is the content of the browsed xml file in my DCT. Now , my requirement is to search the < img src=”/dev-media-assets/image/img_hero_medium.png"/> from the attached xml to dcr and manipulate the complete path of the image and create a file list of the images.
<?xml version="1.0"?>
<content-set> <content key="body">
<![CDATA[<div class="mmpromo"><a href="http://www.investools.com/content/sharedContent/?v=EducationTDA"><img src="/dev-media-assets/image/img_hero_medium.png"/></a><div class="mmpromo_header">Header test</div><div class="mmpromo_content">vide text goes here</div><a class="mmpromo_link" href="http://www.investools.com/content/sharedContent/?v=EducationTDA">Tour video</a></div> ]]>
</content> </content-set>
Any help/pointer on how to read the img attribute from the xml (flat)file.
I checked the TeamSite:
CRparser library but not able to move further since attached file is not in proper xml format(node).
Thanks,
Ajay