Annotation of parser3/tests/145.html, revision 1.2
1.1 paf 1: @main[]
2: $xdoc[^xdoc::create{<?xml version="1.0" encoding="$request:charset"?>
3: <!--some comment-->
4: <people>
5: <man id="2">
6: <name>ПИФ^taint[&]</name>
7: </man>
8: <man id="1" имя="word слово">
9: <name>P«^;AF B</name>
10: </man>
11: </people>
12: }]
13:
1.2 ! paf 14: ^if(^xdoc.firstChild.hasChildNodes[]){wrong1;right, comment does not have children}<br>
! 15: ^if(^xdoc.firstChild.nextSibling.hasChildNodes[]){right;wrong2}
1.1 paf 16:
17: #should have dtd for this to work $Element[^xdoc.getElementById[2]]
18: # ^show_xnode1[$Element]
19: #<hr><hr>
20:
21:
E-mail: