[scribus-dev] Scribus example - Input xml output pdf book
Amit Kumar
amit.sempiternal at gmail.com
Thu Jan 25 07:47:40 UTC 2018
Hi Ale,
Is it possible to read XML directly from scripter API instead of converting
to csv?
Thanks,
Amit
On Thu, Jan 25, 2018 at 12:47 PM, ale rimoldi <ale.comp_06 at xox.ch> wrote:
> hi amit
>
> > My POC xml is like below:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <company>
> > <employee>
> > <employee-id>6018560</employee-id>
> > <employee-name>Amit</employee-name>
> > <employee-loc>Bangalore</employee-loc>
> > </employee>
> > <employee>
> > <employee-id>6018089</employee-id>
> > <employee-name>Jinson</employee-name>
> > <employee-loc>Bangalore</employee-loc>
> > </employee>
> > <employee>
> > <employee-id>6018011</employee-id>
> > <employee-name>Madhu</employee-name>
> > <employee-loc>Bangalore</employee-loc>
> > </employee>
> > </company>
>
> if you're "simply" processing a list of employees,
> it's very likely, that you can easily convert this xml to a csv file and
> then use the scribus generator.
>
> otherwise, you can also try to use the scripter API and read your XML
> from a python script running inside of scribus.
> in this case, basic python skills are needed.
>
> ciao
> a.l.e
>
> _______________________________________________
> scribus-dev mailing list
> scribus-dev at lists.scribus.net
> http://lists.scribus.net/mailman/listinfo/scribus-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus-dev/attachments/20180125/493e72c3/attachment.html>
More information about the scribus-dev
mailing list