When using Xpath in JavaScript is there a way to extract the full content of a result, including tags, as a string?
For example:
<myitems>
<item>item1</item>
<item>item2</item>
</myitems>
Can the results of '//myitems' be used to print:
<item>item1</item>
<item>item2</item>