|
|
| version 1.75, 2002/06/24 19:11:44 | version 1.83, 2002/08/02 09:32:39 |
|---|---|
| Line 4 | Line 4 |
| @auto[filespec] | @auto[filespec] |
| $selffilespec[$filespec] | $selffilespec[$filespec] |
| #$form:here | #$form:here |
| $request:charset[windows-1251] | $request:charset[UTF-8] |
| $response:charset[windows-1251] | $response:charset[windows-1251] |
| $response:content-type[$.value[text/html]$.charset[$response:charset]] | $response:content-type[$.value[text/html]$.charset[$response:charset]] |
| Line 134 $response:content-type[$.value[text/html | Line 134 $response:content-type[$.value[text/html |
| #^tdef[] | #^tdef[] |
| #^ford[] | #^ford[] |
| #^tif[] | #^tif[] |
| #^image[] | ^image[] |
| #^mail2[] | #^mail2[] |
| #^cookie[] | #^cookie[] |
| #^response[] | #^response[] |
| Line 181 $response:content-type[$.value[text/html | Line 181 $response:content-type[$.value[text/html |
| #^div[] | #^div[] |
| #^datecreatestring3[] | #^datecreatestring3[] |
| #^tfilespec[] | #^tfilespec[] |
| ^tcrypt[] | #^tcrypt[] |
| #^cryptdocsample[] | #^cryptdocsample[] |
| #^sendtests[] | #^sendtests[] |
| #^tnormalize[] | |
| #^xmltransformbyxdoc[] | |
| #^sergestrandef[] | |
| #^tstdin[] | |
| #^tfind[] | |
| <hr> | |
| OK | OK |
| @tfind[] | |
| ^file:find[index.html] | |
| @tstdin[] | |
| $f[^file::exec[test.pl;$.stdin[проверка stdin потока]]] | |
| <pre>$f.text</pre> | |
| @sergestrandef[] | |
| $sQuantity[ ] | |
| ^sQuantity.int(10) | |
| @xmltransformbyxdoc[] | |
| $xdoc[^xdoc::set{^process{<?xml version="1.0" encoding="windows-1251"?> | |
| <!--DOCTYPE people SYSTEM "D:\Y\parser3project\parser3\src\www\htdocs\people.dtd"--> | |
| <people> | |
| <man id="1" имя="word слово"> | |
| <name>1 2</name> | |
| </man> | |
| </people> | |
| }}] | |
| $sheet[^xdoc::create{<?xml version="1.0"?> | |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" | |
| > | |
| <!--<xsl:output doctype-public ="-//W3C//DTD XHTML" indent="yes"/>--> | |
| <!--<xsl:import href="http://localhost/html.xsl"/>--> | |
| <xsl:import href="html.xsl"/> | |
| <xsl:param name="param1">defparam1</xsl:param> | |
| <xsl:param name="param2">defparam2</xsl:param> | |
| <xsl:template match="doc"> | |
| param1=<xsl:value-of select="^$param1"/><br/> | |
| param2=<xsl:value-of select="^$param2"/><br/> | |
| test return <something background=""/> | |
| </xsl:template> | |
| <xsl:template name="test"> | |
| test return3 | |
| </xsl:template> | |
| <xsl:template match="people"> | |
| <html> | |
| <head>z</head> | |
| para1=<xsl:copy-of select="^$param1"/> | |
| <xsl:apply-templates/> | |
| <hr/> | |
| <xsl:call-template name="test"/> | |
| </html> | |
| </xsl:template> | |
| <xsl:template match="name"> | |
| <b><xsl:value-of select="."/></b> | |
| </xsl:template> | |
| </xsl:stylesheet> | |
| }] | |
| $xdoc[^xdoc.transform[$sheet]] | |
| $string[^xdoc.string[$.method[html]]] | |
| ^string.save[a] | |
| ^untaint[html]{$string} | |
| @tnormalize[] | |
| #s состоит из 1000 фрагментов | |
| $s[^for[i](0;999){фрагмент }] | |
| #это займет много ресурсов | |
| ^s.match[фраг][g]{перга} | |
| #это займет меньше ресурсов | |
| #$normalized[^s.normalize[]] | |
| #^normalized.match[фраг][g]{перга} | |
| @sendtests[] | @sendtests[] |
| #^text[] | #^text[] |
| #^html[] | #^html[] |
| Line 281 $htpasswd[^table::create[nameless]{}] | Line 364 $htpasswd[^table::create[nameless]{}] |
| @tcrypt[] | @tcrypt[] |
| ^math:crypt[123;^$apr1^$94......]<br> | #^math:crypt[123;^$apr1^$1234567890abcdef]<br> |
| ^math:crypt[123;^$apr1^$]<br> | |
| @tfilespec[] | @tfilespec[] |
| src=$selffilespec<br> | src=$selffilespec<br> |