|
|
| version 1.10, 2004/02/25 13:40:23 | version 1.46, 2004/05/24 12:21:18 |
|---|---|
| Line 1 | Line 1 |
| @main[] | $xdoc[^xdoc::create{<?xml version="1.0" encoding="windows-1251" ?> |
| $request:charset[UTF-8] | |
| #$response:charset[UTF-8] | <document> |
| $response:charset[windows-1251] | <step id="6" title="Test"> |
| $response:content-type[$.value[text/html]$.charset[$response:charset]] | <description> |
| $xdoc[^xdoc::create{<?xml version="1.0" encoding="$request:charset"?> | <![CDATA[ |
| <doc attribute="a | Cdata test |
| b"> | ]]> |
| исходный | </description> |
| </doc> | </step> |
| </document> | |
| }] | }] |
| $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 | |
| ^xdoc.selectString[string(//description)] | |
| #$descriptionNode[^xdoc.selectSingle[/document/step/description]] | |
| #$descriptionNode.value | |