View Single Post
Old 08-08-2019, 08:51 AM   #10
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,692
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Vroni View Post
Hi, thx for the example. I'm pretty sure i've tested my code with lxml as parser and got the html and body elements as well.
If so, then I'll once again point out Kevin's suggestion of using xmlprocessor.py as an example of parsing/serializing pure xml with the tools available to Sigil plugins. The file can be found in the Sigil/python3lib folder of a Windows installation of Sigil, or in the src/Resource_File/python3lib folder of the Sigil source code.

Last edited by DiapDealer; 08-08-2019 at 09:34 AM.
DiapDealer is online now   Reply With Quote