6.4.2.3 XML Text

In level 2, on document view import XML text is converted to the special node/property structure jcr:xmltext/jcr:xmlcharacters (see 7.3.2 Import from Document View). When this structure is mapped back to XML the following rules apply.

If a child node of N called jcr:xmltext is encountered and that jcr:xmltext node has one and only one child item and that item is a single-valued property called jcr:xmlcharacters, then the treatment of that jcr:xmltext depends on the context within which the document view is being used: