Hi Christian,

Thanks for your reply i tried to extract the XML from Zipped docx file by below code

let $sourceDir := 'D:\2017\doctest\Elastic search.zip'
let $archive  := file:read-binary($sourceDir)
for $entry in archive:entries($archive)
for $extract in  fn:parse-xml(archive:extract-text($archive, $entry))
 return $extract

but it throwing error :  [experr:ARCH0004] String conversion: Invalid XML character (#3). 

so what am i doing wrong here

Thanks & Regards

Dharmendra Kumar Singh


On Wednesday, 28 June 2017 6:58 PM, Christian GrĂ¼n <christian.gruen@gmail.com> wrote:


Hi Dharmendra,

In our documentation, there are some examples (e.g. [1]) that demonstrate how to access the contents of MS Office files.

Hope this helps,
Christian



Am 28.06.2017 15:22 schrieb "Dharmendra Singh" <dharam.mahi@gmail.com>:
Hi All,

I have a zipped docx i have to extract the XML from the zipped docx file how can i achieve this, and what function will be used for that.

Thanks & Regards

Dharmendra Kumar Singh