|
|
| version 1.10, 2004/02/25 13:40:23 | version 1.111, 2005/12/16 10:15:12 |
|---|---|
| Line 1 | Line 1 |
| @main[] | |
| $request:charset[UTF-8] | |
| #$response:charset[UTF-8] | |
| $response:charset[windows-1251] | |
| $response:content-type[$.value[text/html]$.charset[$response:charset]] | |
| $xdoc[^xdoc::create{<?xml version="1.0" encoding="$request:charset"?> | |
| <doc attribute="a | |
| b"> | |
| исходный | |
| </doc> | |
| }] | |
| $xdoc[^xdoc.transform[_bug.xsl]] | |
| ^xdoc.string[] | |
| #^xdoc.save[_bug-koi.xml;$.encoding[koi8-r]] | |
| #^xdoc.save[_bug-in-request-charset.xml] | |
| <hr> | |
| $request:charset/$response:charset | |
| $entry_data[^xdoc::create[doc]] | |
| ^for[i](1;60){ | |
| $node[^entry_data.createElement[span$i]] | |
| } | |
| $entry_data[] | |
| ^memory:compact[] |