Need to create multiple files as PDF from single xml

Asked by Ritesh Ravlani

Hi,

I am new to QueXML, I am using it in my asp.net, MVC application.

Our system creates a well formed XML questionnaire. after completing a questionnaire - XML is generated and saved on users system. now using queXML we can create PDF from the xml and it is working fine for me. (I am using setup of queXML on windows)

I have a requirement where I wants to create multiple PDF's with different bar-codes from single upload of xml file.

I have searched lot but didn't got any useful information to achieve this, can you please guide me or provide any documentation link to achieve mentioned functionality.

Thanks,
Ritesh

Question information

Language:
English Edit question
Status:
Answered
For:
queXML Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Adam Zammit (adamzammit) said :
#1

Hi Ritesh,

If you want to include an "identifying" barcode on multiple generated questionnaires, I'd suggest you add a question with the response being of type <free> with <format>i25</format> for example, with the attribute "defaultvalue" set with the barcode value you wish to insert.

eg.
<question>
<response defaultvalue="12345">
<free>
<format>i25</format>
</free>
</response>
</question>

Then on the queXML generation side, you would need to implement a method for generating multiple copies of the queXML file with updated default values to generate multiple PDF's.

Regards,
Adam Zammit

Can you help with this problem?

Provide an answer of your own, or ask Ritesh Ravlani for more information if necessary.

To post a message you must log in.