Hi France,
why not implement all the space and joiner entities to ?
Good idea. I have added even some more characters (see [1]): 8192 – 8207 8232 – 8239 8287 – 8303 A new snapshot (close to the final version 8.6) is online [2]; I’be grateful for some testing feedback! Christian [1] http://docs.basex.org/wiki/WebDAV#Resources [2] http://files.basex.org/releases/latest/
On Sat, Jan 14, 2017 at 4:34 AM, Christian Grün <christian.gruen@gmail.com> wrote:
Hi France,
In the database, all Unicode characters will be stored in their standard (decoded) representation. As a result, it is not possible to preserve entities from an original document. For XML serialization via WebDAV, we have one special rule for converting non-breaking spaces (xA0) to entities. Which other Unicode characters would you like to have converted to entities?
Cheers, Christian
On Fri, Jan 13, 2017 at 7:45 PM, France Baril <france.baril@architextus.com> wrote:
Hi,
When I serialize content to HTML5, I lose some entities.
xquery: adds '' in front of some content and outputs html html: should have '', but doesn't. I've tried with 8204 and even the half space 8201.
The only special space that seems to work is , but it won't do for what I need right now.
Code sample:
let $target-table := copy $copy := $base-table modify( for $td in $copy//tr/td[position()=$column-to-filter-by] let $new-value := ('', for $node in $td/node() return $node) return replace value of node $td with $new-value ) return $copy
return $target-table
Is there any way to solve this?
-- France Baril Architecte documentaire / Documentation architect france.baril@architextus.com
-- France Baril Architecte documentaire / Documentation architect france.baril@architextus.com