entrylistで表示すると画像がHtmlで出てしまいます。
Posted: 2006年10月11日(水) 17:42
entryistの形式では、どうしても画像を出せなくて悩んでいます。
結果
Listのデザイン設定
PHPの表示部分
スキマーの設定はimgでやっていますし、entryでは画像が表示できます。
entrylistは画像をあつかえないのでしょうか?
結果
Listのデザイン設定
コード: 全て選択
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" encoding="EUC-JP" omit-xml-declaration="yes" />
<xsl:template match="/entry">
<div class="img">
<img src="{syasin}" />
</div>
</xsl:template>
</xsl:stylesheet>
PHPの表示部分
コード: 全て選択
<?php require_once( "cmsdesigner/include/view.php.inc" ); // encoding="euc-jp" ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-jp">
<link rel="stylesheet" href="host.css" type="text/css">
<title>写真</title>
</head>
<body>
<cmsd:entrylist name="host" design="default" />
</body>
</html>
<?php cmsd_end_template(); ?>
entrylistは画像をあつかえないのでしょうか?