Hello Mr. Hare,
you might try the following:
1. Adjust the template of your structapp to contain a variable named "hardreturn" whose definition is "\n" (without the quotiation marks).
2. In your R/W-Rules, write: entity "hardreturn"is fm char 0x09;
3. In every FM-Document you want to save as XML
a. also add the variable
b. assign the structapp
4. ..and do the following
a. insert the variable "hardreturn" somewhere and copy it into the clipboard, and delete the variable from your insertion point
b. Search for "\p\p" (=two consecutive hard returns, i.e. an "empty line" or for "\x09" (= a soft return) and "change" "by pasting".
The result should be a variable "hardreturn, wherever \p\p or \x09 was.
If you save this as XML, the \x09 from the variable should survive as an entity.
Hope this helps.
With kind regards,
Franz.
[ excess signature removed by host ]