|
|
| version 1.46, 2004/05/24 12:21:18 | version 1.112, 2005/12/16 14:11:25 |
|---|---|
| Line 1 | Line 1 |
| $xdoc[^xdoc::create{<?xml version="1.0" encoding="windows-1251" ?> | |
| <document> | |
| <step id="6" title="Test"> | |
| <description> | |
| <![CDATA[ | |
| Cdata test | |
| ]]> | |
| </description> | |
| </step> | |
| </document> | |
| }] | |
| ^xdoc.selectString[string(//description)] | |
| #$descriptionNode[^xdoc.selectSingle[/document/step/description]] | |
| #$descriptionNode.value | |
| @main[] | |
| $xdoc[^xdoc::create[root]] | |
| $cloned[^xdoc.firstChild.cloneNode(false)] | |
| OK! |