Hello everyone,<br><br>I have a problem. I need to change programmatically 'src' attribute for images in xmlpage file type. Now all images have internal links (internal="true" parameter) and I need to make them external by changing value in <target> tag. Can somebody tell me the name of function for this action?<br>
<br>I`ve found only this method:<br><...><br>CmsXmlPage page = CmsXmlPageFactory.unmarshal(cmsObj,templateFile);<br>CmsLinkTable table = page.getLinkTable("body",locale);<br>for(Iterator i = table.iterator(); i.hasNext();){<br>
CmsLink listElement = (CmsLink)i.next();<br> listElement.updateLink("<a href="http://somedomen.com">http://somedomen.com</a>"+listElement);<br>}<br><...><br><br>But it changes all links for <link type="A">, but I need to change links for <link type="IMG">.<br>
<br>Thank you.<br clear="all"><br>-- <br>Best regards,<br>Gleb Makarov<br>