Annotation of parser3/tests/117.html, revision 1.3

1.3     ! paf         1: $xdoc[^xdoc::create{^process{<?xml version="1.0"?>
1.2       paf         2: <people>
1.3     ! paf         3:        <man id="1" имя="word слово">
1.2       paf         4:                <name>1  2</name>
                      5:        </man>
                      6: </people>
                      7: }}]
                      8: $sheet[^xdoc::create{<?xml version="1.0"?> 
                      9: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
                     10: 
                     11: >
                     12: 
                     13: <xsl:param name="param1">defparam1</xsl:param>
                     14: <xsl:param name="param2">defparam2</xsl:param>
                     15: 
                     16: 
                     17:        <xsl:template match="doc">
                     18:                param1=<xsl:value-of select="^$param1"/><br/>
                     19:                param2=<xsl:value-of select="^$param2"/><br/>
                     20: 
                     21:                test return <something background=""/>
                     22:        </xsl:template>
                     23: 
                     24:        <xsl:template name="test">
                     25:                test return3
                     26:        </xsl:template>
                     27: 
                     28:   <xsl:template match="people">
                     29:     <html>
                     30:                <head>
                     31:                        <link type='text/xml' rel='alternate' href='/Default.vsdisco'/>
                     32:                </head>
                     33:                
                     34:                para1=<xsl:copy-of select="^$param1"/><br/>
                     35:                para2=<xsl:copy-of select="^$param2"/><br/>
                     36:        <xsl:apply-templates/>
                     37:        <hr/>
                     38:        <xsl:call-template name="test"/>
                     39:      </html>   
                     40:   </xsl:template>
                     41: 
                     42:   <xsl:template match="name">
                     43:     <b><xsl:value-of select="."/></b>
                     44:   </xsl:template>
                     45: </xsl:stylesheet>
                     46: }]
                     47: 
                     48: 
1.3     ! paf        49: $xdoc[^xdoc.transform[$sheet;$.param2[значение param2]]]
1.2       paf        50: $string[^xdoc.string[$.method[html]]]
                     51: #^string.save[a]
                     52: ^untaint[html]{$string}

E-mail: