;value":"fsddd sdgsdsdsdsdsdsdsdsdsdsd",
"type":"text"},{"name":"Period", "value":"aertw hegheh eheheh ghhehe",
"type":"text"}]}
Please let me know, if I am missing somethin
/abc.xml", "action":"add",
>>> "metadata":[{"name":"XYZ", "value":"fsddd
>>> sdgsdsdsdsdsdsdsdsdsdsd", "type":"text"},{"name":"Period",
>
, "value":"fsddd
>> sdgsdsdsdsdsdsdsdsdsdsd", "type":"text"},{"name":"Period",
>> "value":"aertw hegheh eheheh ghhehe", "type":"text"}]}
>>
>>
ot;:"Period", "value":"aertw
> hegheh eheheh ghhehe", "type":"text"}]}
>
> Please let me know, if I am missing something. I am using MarkLogic 7
>
>
> Thanks
>
> Pragya
> --
> *From:* general-bou
quot;aertw hegheh eheheh ghhehe",
"type":"text"}]}
Please let me know, if I am missing something. I am using MarkLogic 7
Thanks
Pragya
From: general-boun...@developer.marklogic.com
on behalf of David Lee
Sent: Tuesday, Jan
Thanks David, this works for me.
From: general-boun...@developer.marklogic.com
on behalf of David Lee
Sent: Tuesday, January 3, 2017 6:39:28 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Json file
In v7 transform-to-json returns a
;
on behalf of DK Singh mailto:dharam.m...@gmail.com>>
Sent: Monday, January 2, 2017 1:06:24 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Json file
Hi Pragya,
You can try out the below mentioned code:
import module namespace json = "http://marklogic.com/xdmp/json
)
> let $_ := map:put( $config, "array-element-names", "metadata" )
> return $config
>
> let $json := json:transform-to-json($xml,$custom)
>
> return
>
> (
>
> xdmp:save(concat('C:\test\', $uri), $json)
>
> )
>
> Thanks
> Prag
uot;, "metadata" )
return $config
let $json := json:transform-to-json($xml,$custom)
return
(
xdmp:save(concat('C:\test\', $uri), $json)
)
Thanks
Pragya
From: general-boun...@developer.marklogic.com
on behalf of DK Singh
Se
Hi Pragya,
You can try out the below mentioned code:
import module namespace json = "http://marklogic.com/xdmp/json"; at
"/MarkLogic/json/json.xqy";
for $xmls in fn:collection('MarcVideo')[1 to 10]
let $xmls1 := xdmp:quote($xmls)
let $xmls2 := xdmp:unquote($xmls1)
let $uri := base-uri($xmls)
let
Hi,
Requirement:
1. Convert xmls stored in marklogic db to json then save them to file system.
2. Store in-memory json in ML DB
How can we achieve the same?
Thanks
Pragya
"This e-mail and any attachments transmitted with it are for the sole use of
the intended recipient(s) and may conta
11 matches
Mail list logo