XML to text-3

XML to text looking at ways to convert a fragment of XML to text, for example for inclusion in an HTML span element

1. Emp record

A record from an employee database. This is the classic example database from Oracle training known as SCOTT/TIGER

2. UnSerialized element

If the element is unserialized, the resultant HTML will contain invalid element names.

4. $node/text()

use of text() here is deprecated by some commentators e.g. Evan Lenz

7. $node/data()

note /data() fails