You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Avula, Srini" <SA...@aqa.org.uk> on 2005/10/05 13:27:50 UTC

One pdf report for multiple candidates

Help please..

I would like to create one pdf report for multiple candidates. Each
candidate information should be in a new page. I am using only one XML
file. The required format is 


PAGE 1

Candidate Report
------------------------------------------------------------------------
-----------
CENTRE 		250866 ST.PETERS COLLEGE
SERIES 		2005 MARCH 2005
------------------------------------------------------------------------
-----------
CANDIDATE 	0001 		ANDREW:MARR 142630040001E
		MALE 		30-MAY-1988
------------------------------------------------------------------------
-----------
ENTRY OPTION AND COMPONENTS HEADER
------------------------------------------------------------------------
-----------
YEAR2   BUS1 BUSINESS STUDIES UNIT 1
YEAR2   CPT1 COMPUTING UNIT 1

------------------------------------------------------------------------
-----------
	
Page 1 of 1


PAGE 2

Candidate Report
------------------------------------------------------------------------
-----------
CENTRE 		060768 ST.PETERS COLLEGE
SERIES 		2005 MARCH 2005
------------------------------------------------------------------------
-----------
CANDIDATE 	0005 		REBACA:SIMPSON 142630040001E
		FEMALE 		03-DECEMBER-1987
------------------------------------------------------------------------
-----------
ENTRY OPTION AND COMPONENTS HEADER
------------------------------------------------------------------------
-----------
YEAR2   ICT1 INFORMATION AND COMM TECH UNIT 1


------------------------------------------------------------------------
-----------
	
Page 1 of 1
Much appreciate your help.

Thanks & Regards
acnu


Visit our website at http://www.aqa.org.uk.

DISCLAIMER:
This e-mail is intended solely for the addressee, is strictly confidential, and may also be legally privileged.  If you are not the addressee you may not read, print, re-transmit, store or act in reliance on it or any attachments.  Please also destroy this message and notify us immediately by reply.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: One pdf report for multiple candidates

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Just design your stylesheet in a way that you create one page-sequence
per candidate. Then you'll automatically have one page per candidate.

On 05.10.2005 14:58:37 Avula, Srini wrote:
<snip/>
> I am able to create for one user, but not for multiple users. I would
> like to know where do I need to filter the candidate number to create
> multiple pages?.
<snip/>

Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: One pdf report for multiple candidates

Posted by Jan Pernica <ja...@pernica.org>.
Use XSL to process your xml file to produce required FO XML, which will 
be processed by FOP producing the PDF.

Regards

Jan

Avula, Srini wrote:

>Help please..
>
>I would like to create one pdf report for multiple candidates. Each
>candidate information should be in a new page. I am using only one XML
>file. The required format is 
>
>
>PAGE 1
>
>Candidate Report
>------------------------------------------------------------------------
>-----------
>CENTRE   250866 ST.PETERS COLLEGE
>SERIES   2005 MARCH 2005
>------------------------------------------------------------------------
>-----------
>CANDIDATE  0001   ANDREW:MARR 142630040001E
>  MALE   30-MAY-1988
>------------------------------------------------------------------------
>-----------
>ENTRY OPTION AND COMPONENTS HEADER
>------------------------------------------------------------------------
>-----------
>YEAR2   BUS1 BUSINESS STUDIES UNIT 1
>YEAR2   CPT1 COMPUTING UNIT 1
>
>------------------------------------------------------------------------
>-----------
> 
>Page 1 of 1
>
>
>PAGE 2
>
>Candidate Report
>------------------------------------------------------------------------
>-----------
>CENTRE   060768 ST.PETERS COLLEGE
>SERIES   2005 MARCH 2005
>------------------------------------------------------------------------
>-----------
>CANDIDATE  0005   REBACA:SIMPSON 142630040001E
>  FEMALE   03-DECEMBER-1987
>------------------------------------------------------------------------
>-----------
>ENTRY OPTION AND COMPONENTS HEADER
>------------------------------------------------------------------------
>-----------
>YEAR2   ICT1 INFORMATION AND COMM TECH UNIT 1
>
>
>------------------------------------------------------------------------
>-----------
> 
>Page 1 of 1
>Much appreciate your help.
>
>Thanks & Regards
>acnu
>
>
>Visit our website at http://www.aqa.org.uk.
>
>DISCLAIMER:
>This e-mail is intended solely for the addressee, is strictly confidential, and may also be legally privileged.  If you are not the addressee you may not read, print, re-transmit, store or act in reliance on it or any attachments.  Please also destroy this message and notify us immediately by reply.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org