Hi David,
Thank you for your response.
I moved my script to a http-server on a separate portnummer
I call the script from a dosbox using cURL
curl http://145.43.181.76:8558/test.xqy (test.xqy attached)
The output is: test.xml (attachted)
The xdmp:save option rules is
used to force values
Of el
On 20 October 2015 at 16:28, Schouten, Edgar J. (RB-NL) wrote:
> declare option xdmp:output "cdata-section-elements=rules";
> [...]
> xdmp:save(
This will have no effect on your query because it affects the results
of your query, which is the empty sequence (xdmp:save returns
nothing).
> [.
Edgar
J. (RB-NL)
Sent: Tuesday, October 20, 2015 10:28 AM
To: MarkLogic Developer Discussion
Cc: Moolen, Hubert G.M. van der (RB-NL)
Subject: Re: [MarkLogic Dev General] cdata-section-elements option doesn't
produce CDATA-values
Hi Florent
Thanks for your reply.
I can temporarily
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Florent Georges
Sent: Tuesday, October 20, 2015 10:10 AM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] cdata-section-elements option doesn't
produce CDATA-values
On 20 October 2015 at 15:45, Schouten, Edgar J. (RB-NL) wrote:
Hi,
> This application requires
If you’re checking your XQuery’s output in the Query Console, it may
actually be doing what you want. But the result of your XQuery is re-formatted
for display in the browser. As Florent said, CDATA is not real XML, it’s just
an escaping mechanism. So your CDATA output may have been parse
Hi Florent
Thanks for your reply.
I can temporarily bypass the problem by manually changing replacing 'fake'
-fields by
On 20 October 2015 at 15:45, Schouten, Edgar J. (RB-NL) wrote:
Hi,
> This application requires
Hi,
I am generating an XML file to be used as an import file for an application
This application requires
According to https://docs.marklogic.com/guide/xquery/langoverview#id_71572
(xdmp:output) I can specify elements to be exported as CDATA-values
I have this in my prolog:
xquery version "1.0