git-svn-id: http://xe-core.googlecode.com/svn/trunk@614 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-23 02:28:44 +00:00
parent 4ebffe05b9
commit 55f420bd67
5 changed files with 273 additions and 3 deletions

View file

@ -41,7 +41,12 @@
* DocumentModule::transContent() 에서 해당 컴포넌트의 transHtml() method를 호출하여 고유코드를 html로 변경
**/
function transHTML($xml_obj) {
return;
$width = $xml_obj->attrs->width;
$height = $xml_obj->attrs->height;
$body = $xml_obj->body;
$output = sprintf('<div style="width:%s;height:%s">%s</div>', $width, $height, $body);
return $output;
}
}