Date: prev next · Thread: first prev next last



Hi

Anybody please help me on my issue below?.

thanks




From: Mannilthodi, Ismail
Sent: Monday, May 31, 2021 11:23:05 AM
To: dev@odftoolkit.org
Subject: Re: [Clarification]


Hi,

myself ismail  curently started to create a n xwiki add-on for exporting the xwiki content to the 
odt format document , the reason why i am going with the new plugin is that, currently available 
feature in xwiki is not working as expected. so our goal is to create a custom plugin,which send 
the html content from the xwiki UI to the back end, and process it from the plugin engine, the 
plugin is under development now. there will be some predefined odt template In the back end, which 
will be created by user. So process the html content after a analysis and process from the plugin 
engine results are assign to the appropriate odt template elements (table, image, paragraph etc..) 
and then send a copy of that template back to the user.


In this case where i am currently stuck is: i have loaded the odt template file and then trying to 
access the specific elements  which is already added in the odt template (ex table with the table 
name) to insert the html content to that table cells, and to access the elements in the odt 
template the method currently trying is to use is the  xpath. but i am unable to succeed please 
find the code below how i am trying.



as it is as it is in the odf docs


[cid:5d652570-2502-4208-b9a2-66fdf7005350]

and below, how i am trying currently,


[cid:ac968da2-0802-449e-b1e0-b2a8f133096a]



[cid:074d2531-1a4c-414f-8747-48de8d7db6f6]


The error is showing :The method setNamespaceContext(NamespaceContext) in the type XPath is not 
applicable for the arguments (OdfNamespace)


I have tried lots of thing and i could not succeeded, could you please help me for this?

Thanks in advance and please let me know if you need more clarity.


________________________________
From: dev+help@odftoolkit.org <dev+help@odftoolkit.org>
Sent: Monday, May 31, 2021 10:29:04 AM
To: Mannilthodi, Ismail
Subject: Welcome to dev@odftoolkit.org

Hi, this is the Mlmmj program managing the <dev@odftoolkit.org> mailing
list.

Thank you for confirming your subscription. You have now been added to the
normal version of the list.

The email address you are subscribed with is
<i.mannilthodi@far-galaxy.net>.

If you ever wish to unsubscribe, send a message to
<dev+unsubscribe@odftoolkit.org> using this email address. The subject and
the body of the message can be anything. You will then receive confirmation
or further instructions.

Please remember: everything you post to our public mailing lists, including
your e-mail address and any other personal information contained in your
message, will be publicly archived and as everybody knows, the internet
never forgets. Even if we can delete your posting later, it might not be
deleted totally from the internet. So, please do post wisely. Please refer
to our privacy policy at https://www.documentfoundation.org/privacy/

For other information and help about this list, send a message to
<dev+help@odftoolkit.org>.



----
[Far Galaxy Networks]
Muhammed Ismail Mannilthodi
Development Consultant
Work: +49 152 09726385
Mobile: +49 152 09726385
E-Mail: I.Mannilthodi@far-galaxy.net
URL: http://www.far-galaxy.de
Far-Galaxy Networks | Inh. Sebastian Fohler | Asternstr. 5 | 80689 München | Germany

-- 
To unsubscribe e-mail to: dev+unsubscribe@odftoolkit.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.odftoolkit.org/dev/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.