Whitespace

Tuesday, 14 July 2015 · 2 messages · last reply 15 Jul 2015
M
meumapple14 Jul 2015 20:13 #
Hi, When I use the file:write function, the whitespaces before an element are deleted (and also the initial whitespace of a string in an element). This is a problem for elements containing text and elements. Is there a way to avoid this? Thanks. J.
M
Marc15 Jul 2015 00:27 #
Hi You can use the serialisation parameter with no indent option. Marc
Quoted text · meumapple · 9 lines
On July 14, 2015 8:13:09 PM CEST, meumapple <meumapple at gmail.com> wrote: >Hi, > >When I use the file:write function, the whitespaces before an element >are deleted (and also the initial whitespace of a string in an >element). This is a problem for elements containing text and elements. >Is there a way to avoid this? Thanks. > >J.
-- Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.

⚡Generated with XQuery