*** test program for CXMLTree class (3)
<?xml version="1.0"?>
<root>
 <usr>
  <bin permission="root">
    grep
    pr
  </bin>
  <local permission="root" nfs="yes">
    <bin>
      vim
      nkf
    </bin>
  </local>
 </usr>
</root>
save result ... 0
-----
type: element
node name: root
line no: 3
choice: 0
content: nil
-----
type: text
node name: text
line no: 3
choice: 0
content: "\n "
-----
type: element
node name: usr
line no: 4
choice: 0
content: nil
-----
type: text
node name: text
line no: 4
choice: 0
content: "\n  "
-----
type: element
node name: bin
line no: 5
choice: 0
content: nil
attributes:
  attr name: permission, value: root
-----
type: text
node name: text
line no: 5
choice: 0
content: "\n    grep\n    pr\n  "
-----
type: text
node name: text
line no: 5
choice: 0
content: "\n  "
-----
type: element
node name: local
line no: 9
choice: 0
content: nil
attributes:
  attr name: permission, value: root
  attr name: nfs, value: yes
-----
type: text
node name: text
line no: 9
choice: 0
content: "\n    "
-----
type: element
node name: bin
line no: 10
choice: 0
content: nil
-----
type: text
node name: text
line no: 10
choice: 0
content: "\n      vim\n      nkf\n    "
-----
type: text
node name: text
line no: 10
choice: 0
content: "\n  "
-----
type: text
node name: text
line no: 9
choice: 0
content: "\n "
-----
type: text
node name: text
line no: 4
choice: 0
content: "\n"
=== choose by tag name
compile result for tag name : 0
-----
type: element
node name: local
line no: 9
choice: 2
content: nil
attributes:
  attr name: permission, value: root
  attr name: nfs, value: yes
=== choose by attr name
compile result for attr name : 0
-----
type: element
node name: local
line no: 9
choice: 2
content: nil
attributes:
  attr name: permission, value: root
  attr name: nfs, value: yes
=== remove by attr name and value
compile result for attr value : 0
-----
type: element
node name: local
line no: 9
choice: 2
content: nil
attributes:
  attr name: nfs, value: yes
=== remove side spaces
-----
type: element
node name: root
line no: 3
choice: 1
content: nil
-----
type: element
node name: usr
line no: 4
choice: 1
content: nil
-----
type: element
node name: bin
line no: 5
choice: 1
content: nil
attributes:
  attr name: permission, value: root
-----
type: text
node name: text
line no: 5
choice: 1
content: "grep\n    p"
-----
type: element
node name: local
line no: 9
choice: 2
content: nil
attributes:
  attr name: nfs, value: yes
-----
type: element
node name: bin
line no: 10
choice: 1
content: nil
-----
type: text
node name: text
line no: 10
choice: 1
content: "vim\n      nk"
closing files ... done.
releasing objects ... done.
bye.
