|
|
| version 1.8, 2004/02/25 13:40:23 | version 1.12, 2004/03/09 14:49:47 |
|---|---|
| Line 5 | Line 5 |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
| <!--method="html"--> | <!--method="html"--> |
| <xsl:output | <!--xsl:output |
| omit-xml-declaration="no" | omit-xml-declaration="no" |
| doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" | /--> |
| doctype-system="DTD/xhtml1-strict.dtd" | |
| /> | |
| <!-- encoding="koi8-r" <<influences .save encoding--> | |
| <!--<xsl:strip-space | |
| elements = "xsl:attribute" /> --> | |
| <!--<xsl:strip-space elements="*"/>--> | |
| <xsl:template match="/doc"> | <xsl:template match="/doc"> |
| <html> | <html> |
| <!-- <head/> | <xsl:copy-of select="."/> |
| <xsl:value-of select="."/> - в шаблоне<br/> | <br/> |
| <тег атрибут="значение | |
| с переносом строки"/> | |
| <tag attribute_from_xml="{@attribute}"/> | |
| <br/>--> | |
| <tag2> | |
| <xsl:attribute name="attribute_created_by_xsl_attribute"> | |
| value | |
| </xsl:attribute> | |
| </tag2> | |
| <создать_тег> | |
| <xsl:attribute name="создать_атрибут"> | |
| значение | |
| </xsl:attribute> | |
| </создать_тег> | |
| </html> | </html> |
| </xsl:template> | </xsl:template> |