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