Skip to content

Instantly share code, notes, and snippets.

#encoding: utf-8
=begin
Copyright 2010 Denis Kokorin <virkdi@mail.ru>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
#encoding: utf-8
=begin
Copyright 2010 Denis Kokorin <virkdi@mail.ru>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
<h1>
<a href="http://www.gotdotnet.ru/blogs/alexeylyubko/7205/" >Рендеринг HTML в Bitmap</a>
</h1>
<strong>Автор</strong>: Sveer<br/>
<strong>Дата публикации</strong>: 28.2.2010 16:07<br/>
<strong>Categories</strong>: howto, htmltobitmap, html rendering<br/>
<br/>В процессе рефакторинга проекта <noindex>
<a rel="nofollow" href="http://qrpr.ru/" >QRPR</a>
</noindex> накопал много небольших, но полезных вспомогательных блоков. Решил начать ими делиться и возобновить блог :) <p>Ищите под тегом HOWTO :)</p> <p>
<strong>Задача:</strong> <br/>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="UTF-8" />
<xsl:param name="indent-increment" select="' '" />
<xsl:template name="newline">
<xsl:text disable-output-escaping="yes">
</xsl:text>
</xsl:template>