<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
Hello<br>
<br>
I use OpenCms, version 5.0.0 Kaitain and try to extract programatically the
body of a page with<br>
<br>
CmsFile file = cmsObject.readFile( bodyRoot
+ pageUrl );<br>
CmsXmlTemplateFile templateFile = new CmsXmlTemplateFile( cmsObject,
file );<br>
String content = templateFile.getTemplateContent(
null, null, null );<br>
<br>
I get the body text correctly but all links (href="") and image source paths
(src="") are left empty:
<blockquote><p>Neues Modell:</p><br>
<p><a href="" target="_self">MESOMA Modell VMS-SERVO</a></p><br>
<p><img alt="logo_opencms_175" src=""></p><br>
</blockquote>
The body is part of a page attached to a jsp template.<br>
<br>
Any suggestions?<br>
<br>
cheers,<br>
Michael<br>
<br>
</body>
</html>