| Новости | FAQ | Авторы | Документация | В действии | Библиотека |
| Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
G_Z 06.04.2006 16:51
test.html@main[]
$xml[^xdoc::create{<?xml version="1.0" encoding="windows-1251"?>
<latestBlock>
<header>header</header>
<content>short_text</content>
<lank href="test/test/test" image="img"/>
</latestBlock>}]
$xsl[^xdoc::create{<?xml version="1.0" encoding="windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match="lank">
<div class="more">
<a href="{@href}" onmouseout="document.getElementById('left_image').style.background = 'none'" onmouseover="document.getElementById('left_image').style.background = 'url(/images/news/{@image})'">ПОДРОБНЕЕ</a>
</div>
</xsl:template>
</xsl:stylesheet>}]
$doc[^xml.transform[$xsl]]
$response:body[^doc.string[
$.method[html]
$.indent[no]
]]