[scribus-dev] Scribus example - Input xml output pdf book

Amit Kumar amit.sempiternal at gmail.com
Thu Jan 25 07:10:03 UTC 2018


Hi Ale,
I have tried to go with example suggested by you and i succeed in
generating my own business card.

Although when i tried to create with above XML data to generate...it's
creating the 3 pdf files ( 1.pdf, 2.pdf and 3.pdf for 3 employee).

where to modify to add these in one pdf only?
Thanks in advance!

Thanks,
Amit

On Thu, Jan 25, 2018 at 8:08 AM, Amit Kumar <amit.sempiternal at gmail.com>
wrote:

> Hi Ale,
>
> 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>
>
> Thanks,
> Amit
>
> On Wed, Jan 24, 2018 at 9:32 PM, ale rimoldi <ale.comp_06 at xox.ch> wrote:
>
>> hi amit
>>
>> > But i am new to this and might ask silly question also but i didn't
>> > see any input as xml.
>> > Do you have steps to proceed with XML?
>>
>> basically, you can convert your xml to csv and get the scribus
>> generator handle it.
>>
>> or you can create something similar (but probably simpler) to the
>> generator and write your own python code that processes your python
>> code before feeding the values into the scribus file.
>>
>> i don't know what kind of xml data you have and what are your python
>> skills, so it's hard to tell you more.
>>
>> 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/9b757caa/attachment-0001.html>


More information about the scribus-dev mailing list