qexo-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qexo-general] Whitespace in kawa-1.7.90


From: Per Bothner
Subject: Re: [Qexo-general] Whitespace in kawa-1.7.90
Date: Sat, 29 Nov 2003 10:22:03 -0800
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5) Gecko/20031007

Sascha Opletal wrote:

However, this version eliminates all whitespace that used to be there
in the 1.7 release. How can i tell in the query, where i need whitespace
in the result, in order to get a human readable output?

Qexo 1.7.90 implements the xmlspace declaration:
  declare xmlspace preserve;

You can also create explicit text nodes with whitespace:
  <result>{" ... "}</result>

See the "3.7.1.4 Whitespace in Element Content" and "4.10 xmlspace declaration" sections of the November XQuery specification.

There may of course be bugs in the Qexo implementation, but as far
as I know it is correct.
--
        --Per Bothner
address@hidden   http://per.bothner.com/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]