File:  [parser3project] / parser3 / www / htdocs / Attic / _bug.xsl
Revision 1.9: download - view: text, annotated - select for diffs - revision graph
Thu Feb 26 14:37:31 2004 UTC (22 years, 4 months ago) by paf
Branches: MAIN
CVS tags: HEAD
feature: ^process...{CODE}[now has options]
which are
        $.main[to what to rename @main]
        $.file[file, from which (user says) goes that CODE]
        $.lineno(line number in that file, where CODE starts. may be negative)

<?xml version="1.0" encoding="windows-1251" ?>

<!DOCTYPE xsl:stylesheet SYSTEM "symbols.ent">

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!--method="html"-->

<xsl:output 
    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">
		<html>
<!--		<head/>
		<xsl:value-of select="."/> - в шаблоне<br/>
		<тег атрибут="значение
		с переносом строки"/>
		<tag attribute_from_xml="{@attribute}"/>
		<br/>-->
		?<xsl:value-of select="concat(document('parser://method/'),@attribute)"/>?
		<tag2>
			<xsl:attribute name="attribute_created_by_xsl_attribute">
							value
			</xsl:attribute>
		</tag2>
<создать_тег>
	<xsl:attribute name="создать_атрибут">
		значение
	</xsl:attribute>
	        <div>
			<xsl:attribute name="style">
							<xsl:text>color:red;</xsl:text>
							font-weight:bold
			</xsl:attribute>
	
	sdkfjsdkfj</div>
</создать_тег>
		</html>
	</xsl:template>
	
	
</xsl:stylesheet>

E-mail: