文本文件  |  27行  |  893 B

<doc><elem>a<![CDATA[b]]>c</elem></doc>
child::*, [object Element]: ""
child::node(), [object Element]: "a b c"
descendant::*, [object Element]: ""
descendant::node(), [object Element]: "a b c"
descendant::node()[2], [object Element]: "b"
ancestor-or-self::node(), b: "null null null b"
ancestor-or-self::*, b: "null null"
ancestor-or-self::node(), a: "null null null a"
ancestor-or-self::*, a: "null null"
following::node(), [object Element]: ""
following::node(), a: "b c"
following::text(), a: "b c"
following::node(), b: "c"
following-sibling::node(), [object Element]: ""
following-sibling::node(), a: "b c"
following-sibling::text(), a: "b c"
following-sibling::node(), b: "c"
preceding::node(), b: "a"
preceding-sibling::node(), b: "a"
preceding::node(), c: "a b"
preceding::text(), c: "a b"
preceding-sibling::node(), c: "a b"
preceding-sibling::text(), c: "a b"
self::node(), b: "b"