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 vijay <ma...@gmail.com> on 2006/09/18 15:10:30 UTC

xml to pdf (generic)

Hi all.
This is a problem related to the conversion from XML to PDF.
I have a system generated dynamic XML(where the child nodes may vary
accordingly) that i need to convert to a PDF format file using xsl-fo. 
In the required PDF the node values in the system XML should appear in
proper row n column format.

for example if the XML contains 2 childs under the root node n  the child
nodes further contain 4 childs so the table will b of the size: 2*4( i.e. 2
rows n 4 cols)


thanks in advance


-- 
View this message in context: http://www.nabble.com/xml-to-pdf-%28generic%29-tf2291175.html#a6363356
Sent from the FOP - Users mailing list archive at Nabble.com.


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


RE: xml to pdf (generic)

Posted by Rick Roen <Ri...@LakeValleySeed.com>.
To convert xml to pdf you need to have an xml file (the one below I assume)
PLUS an xslt file that will convert to XSL-FO and then you can use FOP to
convert the FO file into pdf.  You can also do this in one step with FOP -
xml + xslt -> xsl-fo = pdf output.

Now we still need your xslt file that you intend to use to convert your xml.

If you are by chance looking for someone to write an xslt transformation for
you - you've got the wrong guy here, but maybe someone else will help.

If you already have the xslt, send it so we can look at it.

Rick

-----Original Message-----
From: vijay [mailto:mamilla.v@gmail.com] 
Sent: Tuesday, September 19, 2006 12:06 PM
To: fop-users@xmlgraphics.apache.org
Subject: RE: xml to pdf (generic)


sorry rick ,
 sorry rick ,  i sended you worng xml file .again i am sending my xml file .


<?xml version="1.0" encoding="UTF-8"?>

<root record_count="45">
      <header>My Report Header</header> 
      <name>My Report</name>
      <footer>My Report Footer</footer> 
	<object ID="090032ae80006f3b"> 
                <r_object_id>090032ae80006f3b</r_object_id> 
                <object_name>09/11/2006 05:41:26                          
dm_DataDictionaryPublisher</object_name> 
                <r_creation_date>09/11/2006 05:41:28 AM</r_creation_date> 
  </object> 



	<object ID="090032ae80006f3e"> 
        <r_object_id>090032ae80006f3e</r_object_id> 
        <object_name>09/11/2006 06:10:57                     
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 06:10:58 AM</r_creation_date> 
  </object> 

<object ID="090032ae80006f45"> 
        <r_object_id>090032ae80006f45</r_object_id> 
        <object_name>09/11/2006 06:40:58            
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 06:40:59 AM</r_creation_date> 
  </object> 
  
  <object ID="090032ae80006f48"> 
        <r_object_id>090032ae80006f48</r_object_id> 
        <object_name>09/11/2006 07:11:29              
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 07:11:30 AM</r_creation_date> 
  </object> 
  
  <object ID="090032ae80006f4b"> 
        <r_object_id>090032ae80006f4b</r_object_id> 
        <object_name>09/11/2006 07:11:59 dm_GwmTask_Alert</object_name> 
        <r_creation_date>09/11/2006 07:11:59 AM</r_creation_date> 
  </object> 
   
 <object ID="090032ae80006f4f"> 
        <r_object_id>090032ae80006f4f</r_object_id> 
        <object_name>09/11/2006 07:41:29            
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 07:41:31 AM</r_creation_date> 
 </object> 
 
<object ID="090032ae80006f52"> 
        <r_object_id>090032ae80006f52</r_object_id> 
        <object_name>09/11/2006 08:05:30 dm_GwmTask_Alert</object_name> 
        <r_creation_date>09/11/2006 08:05:31 AM</r_creation_date> 
</object> 
 
<object ID="090032ae80006f56"> 
        <r_object_id>090032ae80006f56</r_object_id> 
        <object_name>09/11/2006 08:10:30                     
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 08:10:31 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f59"> 
        <r_object_id>090032ae80006f59</r_object_id> 
        <object_name>09/11/2006 08:41:01            
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 08:41:02 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f5c"> 
        <r_object_id>090032ae80006f5c</r_object_id> 
        <object_name>09/11/2006 09:00:32 dm_GwmTask_Alert</object_name> 
        <r_creation_date>09/11/2006 09:00:33 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f5f"> 
        <r_object_id>090032ae80006f5f</r_object_id> 
        <object_name>080032ae80000282</object_name> 
        <r_creation_date>09/11/2006 09:00:33 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f60"> 
        <r_object_id>090032ae80006f60</r_object_id> 
        <object_name>Contracts Client ReportMMDDYYYY</object_name> 
        <r_creation_date>09/11/2006 09:02:41 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f62"> 
        <r_object_id>090032ae80006f62</r_object_id> 
        <object_name>09/11/2006 09:11:02          
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 09:11:04 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f64"> 
        <r_object_id>090032ae80006f64</r_object_id> 
        <object_name>DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 09:11:04 AM</r_creation_date> 
</object> 

<object ID="670032ae80000100"> 
        <r_object_id>670032ae80000100</r_object_id> 
        <object_name>CSEC Plugin</object_name> 
        <r_creation_date>06/15/2006 07:33:03 PM</r_creation_date> 
</object> 

 
</root>

 
In previous mail  accidentally <?xml-stylesheet type="text/xsl"
href="coun.xslt"?> tag was  included.

 i wrote a xsl file for generating the  pdf  .but that is not in proper way 
  I am generating pdf file from command prompt using   
           
   fop -xml pdf.xml  -xsl pdf.xsl -pdf pdf1.pdf  command 

   I am uploading  my  pdf.xsl(what i wrote for some other xml )  file. 
could you see it once please. 

Thanks 

   
Rick Roen wrote:
> 
> Vijay,
> 
> You will have to post a copy of your "coun.xslt" also.
> 
> With just the xml we cannot tell what you are trying to do to convert to
> XSL-FO 
> 
> Rick
> 
> -----Original Message-----
> From: vijay [mailto:mamilla.v@gmail.com] 
> Sent: Tuesday, September 19, 2006 7:38 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: RE: xml to pdf (generic)
> 
> 
> Hi..
> Im hereby attaching a sample XML which im using for coversion to PDF and
> the
> desired PDF.
> 
> here is my xml file :- 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-stylesheet type="text/xsl" href="coun.xslt"?>
> <root record_count="45">
>       <header>My Report Header</header> 
>       <name>My Report</name>
>       <footer>My Report Footer</footer> 
> 	<object ID="090032ae80006f3b"> 
>                 <r_object_id>090032ae80006f3b</r_object_id> 
>                 <object_name>09/11/2006 05:41:26                          
> dm_DataDictionaryPublisher</object_name> 
>                 <r_creation_date>09/11/2006 05:41:28 AM</r_creation_date> 
>   </object> 
> 
> 
> 
> 	<object ID="090032ae80006f3e"> 
>         <r_object_id>090032ae80006f3e</r_object_id> 
>         <object_name>09/11/2006 06:10:57                     
> dm_DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 06:10:58 AM</r_creation_date> 
>   </object> 
> 
> <object ID="090032ae80006f45"> 
>         <r_object_id>090032ae80006f45</r_object_id> 
>         <object_name>09/11/2006 06:40:58            
> dm_DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 06:40:59 AM</r_creation_date> 
>   </object> 
>   
>   <object ID="090032ae80006f48"> 
>         <r_object_id>090032ae80006f48</r_object_id> 
>         <object_name>09/11/2006 07:11:29              
> dm_DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 07:11:30 AM</r_creation_date> 
>   </object> 
>   
>   <object ID="090032ae80006f4b"> 
>         <r_object_id>090032ae80006f4b</r_object_id> 
>         <object_name>09/11/2006 07:11:59 dm_GwmTask_Alert</object_name> 
>         <r_creation_date>09/11/2006 07:11:59 AM</r_creation_date> 
>   </object> 
>    
>  <object ID="090032ae80006f4f"> 
>         <r_object_id>090032ae80006f4f</r_object_id> 
>         <object_name>09/11/2006 07:41:29            
> dm_DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 07:41:31 AM</r_creation_date> 
>  </object> 
>  
> <object ID="090032ae80006f52"> 
>         <r_object_id>090032ae80006f52</r_object_id> 
>         <object_name>09/11/2006 08:05:30 dm_GwmTask_Alert</object_name> 
>         <r_creation_date>09/11/2006 08:05:31 AM</r_creation_date> 
> </object> 
>  
> <object ID="090032ae80006f56"> 
>         <r_object_id>090032ae80006f56</r_object_id> 
>         <object_name>09/11/2006 08:10:30                     
> dm_DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 08:10:31 AM</r_creation_date> 
> </object> 
> 
> <object ID="090032ae80006f59"> 
>         <r_object_id>090032ae80006f59</r_object_id> 
>         <object_name>09/11/2006 08:41:01            
> dm_DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 08:41:02 AM</r_creation_date> 
> </object> 
> 
> <object ID="090032ae80006f5c"> 
>         <r_object_id>090032ae80006f5c</r_object_id> 
>         <object_name>09/11/2006 09:00:32 dm_GwmTask_Alert</object_name> 
>         <r_creation_date>09/11/2006 09:00:33 AM</r_creation_date> 
> </object> 
> 
> <object ID="090032ae80006f5f"> 
>         <r_object_id>090032ae80006f5f</r_object_id> 
>         <object_name>080032ae80000282</object_name> 
>         <r_creation_date>09/11/2006 09:00:33 AM</r_creation_date> 
> </object> 
> 
> <object ID="090032ae80006f60"> 
>         <r_object_id>090032ae80006f60</r_object_id> 
>         <object_name>Contracts Client ReportMMDDYYYY</object_name> 
>         <r_creation_date>09/11/2006 09:02:41 AM</r_creation_date> 
> </object> 
> 
> <object ID="090032ae80006f62"> 
>         <r_object_id>090032ae80006f62</r_object_id> 
>         <object_name>09/11/2006 09:11:02          
> dm_DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 09:11:04 AM</r_creation_date> 
> </object> 
> 
> <object ID="090032ae80006f64"> 
>         <r_object_id>090032ae80006f64</r_object_id> 
>         <object_name>DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 09:11:04 AM</r_creation_date> 
> </object> 
> 
> <object ID="670032ae80000100"> 
>         <r_object_id>670032ae80000100</r_object_id> 
>         <object_name>CSEC Plugin</object_name> 
>         <r_creation_date>06/15/2006 07:33:03 PM</r_creation_date> 
> </object> 
> 
>  
> </root>
> 
> Iam attaching the snapshot of the desired PDF.
> 
> 
> 
> 
> 
> 
> 
> Rick Roen wrote:
>> 
>> Vijay,
>> 
>> This seems more like a question about XML -> XSLT conversion.
>> 
>> A better group for that would be xsl-list@lists.mulberrytech.com.
>> 
>> Perhaps if you posted your XSLT and brief example of your XML we, or
>> xsl-lists could be of more help, or if I misunderstand a more complete
>> explanation of your problem since I don't understand specifically what it
>> is.
>> 
>> The general process is XML + XSLT -> XSL-FO -> PDF.  The XSL-FO -> PDF is
>> quite easy and described in detail on the FOP web site.
>> 
>> Rick
>> 
>> -----Original Message-----
>> From: vijay [mailto:mamilla.v@gmail.com] 
>> Sent: Monday, September 18, 2006 7:11 AM
>> To: fop-users@xmlgraphics.apache.org
>> Subject: xml to pdf (generic)
>> 
>> 
>> Hi all.
>> This is a problem related to the conversion from XML to PDF.
>> I have a system generated dynamic XML(where the child nodes may vary
>> accordingly) that i need to convert to a PDF format file using xsl-fo. 
>> In the required PDF the node values in the system XML should appear in
>> proper row n column format.
>> 
>> for example if the XML contains 2 childs under the root node n  the child
>> nodes further contain 4 childs so the table will b of the size: 2*4( i.e.
>> 2
>> rows n 4 cols)
>> 
>> 
>> thanks in advance
>> 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/xml-to-pdf-%28generic%29-tf2291175.html#a6363356
>> Sent from the FOP - Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> 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
>> 
>> 
>> 
> http://www.nabble.com/file/28/snapshot_pdf.doc snapshot_pdf.doc 
> -- 
> View this message in context:
> http://www.nabble.com/xml-to-pdf-%28generic%29-tf2291175.html#a6388341
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 
http://www.nabble.com/file/32/pdf.xsl pdf.xsl 
-- 
View this message in context:
http://www.nabble.com/xml-to-pdf-%28generic%29-tf2291175.html#a6393803
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


RE: xml to pdf (generic)

Posted by vijay <ma...@gmail.com>.
sorry rick ,
 sorry rick ,  i sended you worng xml file .again i am sending my xml file .  

<?xml version="1.0" encoding="UTF-8"?>

<root record_count="45">
      <header>My Report Header</header> 
      <name>My Report</name>
      <footer>My Report Footer</footer> 
	<object ID="090032ae80006f3b"> 
                <r_object_id>090032ae80006f3b</r_object_id> 
                <object_name>09/11/2006 05:41:26                          
dm_DataDictionaryPublisher</object_name> 
                <r_creation_date>09/11/2006 05:41:28 AM</r_creation_date> 
  </object> 



	<object ID="090032ae80006f3e"> 
        <r_object_id>090032ae80006f3e</r_object_id> 
        <object_name>09/11/2006 06:10:57                     
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 06:10:58 AM</r_creation_date> 
  </object> 

<object ID="090032ae80006f45"> 
        <r_object_id>090032ae80006f45</r_object_id> 
        <object_name>09/11/2006 06:40:58            
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 06:40:59 AM</r_creation_date> 
  </object> 
  
  <object ID="090032ae80006f48"> 
        <r_object_id>090032ae80006f48</r_object_id> 
        <object_name>09/11/2006 07:11:29              
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 07:11:30 AM</r_creation_date> 
  </object> 
  
  <object ID="090032ae80006f4b"> 
        <r_object_id>090032ae80006f4b</r_object_id> 
        <object_name>09/11/2006 07:11:59 dm_GwmTask_Alert</object_name> 
        <r_creation_date>09/11/2006 07:11:59 AM</r_creation_date> 
  </object> 
   
 <object ID="090032ae80006f4f"> 
        <r_object_id>090032ae80006f4f</r_object_id> 
        <object_name>09/11/2006 07:41:29            
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 07:41:31 AM</r_creation_date> 
 </object> 
 
<object ID="090032ae80006f52"> 
        <r_object_id>090032ae80006f52</r_object_id> 
        <object_name>09/11/2006 08:05:30 dm_GwmTask_Alert</object_name> 
        <r_creation_date>09/11/2006 08:05:31 AM</r_creation_date> 
</object> 
 
<object ID="090032ae80006f56"> 
        <r_object_id>090032ae80006f56</r_object_id> 
        <object_name>09/11/2006 08:10:30                     
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 08:10:31 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f59"> 
        <r_object_id>090032ae80006f59</r_object_id> 
        <object_name>09/11/2006 08:41:01            
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 08:41:02 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f5c"> 
        <r_object_id>090032ae80006f5c</r_object_id> 
        <object_name>09/11/2006 09:00:32 dm_GwmTask_Alert</object_name> 
        <r_creation_date>09/11/2006 09:00:33 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f5f"> 
        <r_object_id>090032ae80006f5f</r_object_id> 
        <object_name>080032ae80000282</object_name> 
        <r_creation_date>09/11/2006 09:00:33 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f60"> 
        <r_object_id>090032ae80006f60</r_object_id> 
        <object_name>Contracts Client ReportMMDDYYYY</object_name> 
        <r_creation_date>09/11/2006 09:02:41 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f62"> 
        <r_object_id>090032ae80006f62</r_object_id> 
        <object_name>09/11/2006 09:11:02          
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 09:11:04 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f64"> 
        <r_object_id>090032ae80006f64</r_object_id> 
        <object_name>DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 09:11:04 AM</r_creation_date> 
</object> 

<object ID="670032ae80000100"> 
        <r_object_id>670032ae80000100</r_object_id> 
        <object_name>CSEC Plugin</object_name> 
        <r_creation_date>06/15/2006 07:33:03 PM</r_creation_date> 
</object> 

 
</root>

 
In previous mail  accidentally <?xml-stylesheet type="text/xsl"
href="coun.xslt"?> tag was  included.

 i wrote a xsl file for generating the  pdf  .but that is not in proper way 
  I am generating pdf file from command prompt using   
           
   fop -xml pdf.xml  -xsl pdf.xsl -pdf pdf1.pdf  command 

   I am uploading  my  pdf.xsl(what i wrote for some other xml )  file. 
could you see it once please. 

Thanks 

   
Rick Roen wrote:
> 
> Vijay,
> 
> You will have to post a copy of your "coun.xslt" also.
> 
> With just the xml we cannot tell what you are trying to do to convert to
> XSL-FO 
> 
> Rick
> 
> -----Original Message-----
> From: vijay [mailto:mamilla.v@gmail.com] 
> Sent: Tuesday, September 19, 2006 7:38 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: RE: xml to pdf (generic)
> 
> 
> Hi..
> Im hereby attaching a sample XML which im using for coversion to PDF and
> the
> desired PDF.
> 
> here is my xml file :- 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-stylesheet type="text/xsl" href="coun.xslt"?>
> <root record_count="45">
>       <header>My Report Header</header> 
>       <name>My Report</name>
>       <footer>My Report Footer</footer> 
> 	<object ID="090032ae80006f3b"> 
>                 <r_object_id>090032ae80006f3b</r_object_id> 
>                 <object_name>09/11/2006 05:41:26                          
> dm_DataDictionaryPublisher</object_name> 
>                 <r_creation_date>09/11/2006 05:41:28 AM</r_creation_date> 
>   </object> 
> 
> 
> 
> 	<object ID="090032ae80006f3e"> 
>         <r_object_id>090032ae80006f3e</r_object_id> 
>         <object_name>09/11/2006 06:10:57                     
> dm_DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 06:10:58 AM</r_creation_date> 
>   </object> 
> 
> <object ID="090032ae80006f45"> 
>         <r_object_id>090032ae80006f45</r_object_id> 
>         <object_name>09/11/2006 06:40:58            
> dm_DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 06:40:59 AM</r_creation_date> 
>   </object> 
>   
>   <object ID="090032ae80006f48"> 
>         <r_object_id>090032ae80006f48</r_object_id> 
>         <object_name>09/11/2006 07:11:29              
> dm_DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 07:11:30 AM</r_creation_date> 
>   </object> 
>   
>   <object ID="090032ae80006f4b"> 
>         <r_object_id>090032ae80006f4b</r_object_id> 
>         <object_name>09/11/2006 07:11:59 dm_GwmTask_Alert</object_name> 
>         <r_creation_date>09/11/2006 07:11:59 AM</r_creation_date> 
>   </object> 
>    
>  <object ID="090032ae80006f4f"> 
>         <r_object_id>090032ae80006f4f</r_object_id> 
>         <object_name>09/11/2006 07:41:29            
> dm_DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 07:41:31 AM</r_creation_date> 
>  </object> 
>  
> <object ID="090032ae80006f52"> 
>         <r_object_id>090032ae80006f52</r_object_id> 
>         <object_name>09/11/2006 08:05:30 dm_GwmTask_Alert</object_name> 
>         <r_creation_date>09/11/2006 08:05:31 AM</r_creation_date> 
> </object> 
>  
> <object ID="090032ae80006f56"> 
>         <r_object_id>090032ae80006f56</r_object_id> 
>         <object_name>09/11/2006 08:10:30                     
> dm_DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 08:10:31 AM</r_creation_date> 
> </object> 
> 
> <object ID="090032ae80006f59"> 
>         <r_object_id>090032ae80006f59</r_object_id> 
>         <object_name>09/11/2006 08:41:01            
> dm_DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 08:41:02 AM</r_creation_date> 
> </object> 
> 
> <object ID="090032ae80006f5c"> 
>         <r_object_id>090032ae80006f5c</r_object_id> 
>         <object_name>09/11/2006 09:00:32 dm_GwmTask_Alert</object_name> 
>         <r_creation_date>09/11/2006 09:00:33 AM</r_creation_date> 
> </object> 
> 
> <object ID="090032ae80006f5f"> 
>         <r_object_id>090032ae80006f5f</r_object_id> 
>         <object_name>080032ae80000282</object_name> 
>         <r_creation_date>09/11/2006 09:00:33 AM</r_creation_date> 
> </object> 
> 
> <object ID="090032ae80006f60"> 
>         <r_object_id>090032ae80006f60</r_object_id> 
>         <object_name>Contracts Client ReportMMDDYYYY</object_name> 
>         <r_creation_date>09/11/2006 09:02:41 AM</r_creation_date> 
> </object> 
> 
> <object ID="090032ae80006f62"> 
>         <r_object_id>090032ae80006f62</r_object_id> 
>         <object_name>09/11/2006 09:11:02          
> dm_DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 09:11:04 AM</r_creation_date> 
> </object> 
> 
> <object ID="090032ae80006f64"> 
>         <r_object_id>090032ae80006f64</r_object_id> 
>         <object_name>DataDictionaryPublisher</object_name> 
>         <r_creation_date>09/11/2006 09:11:04 AM</r_creation_date> 
> </object> 
> 
> <object ID="670032ae80000100"> 
>         <r_object_id>670032ae80000100</r_object_id> 
>         <object_name>CSEC Plugin</object_name> 
>         <r_creation_date>06/15/2006 07:33:03 PM</r_creation_date> 
> </object> 
> 
>  
> </root>
> 
> Iam attaching the snapshot of the desired PDF.
> 
> 
> 
> 
> 
> 
> 
> Rick Roen wrote:
>> 
>> Vijay,
>> 
>> This seems more like a question about XML -> XSLT conversion.
>> 
>> A better group for that would be xsl-list@lists.mulberrytech.com.
>> 
>> Perhaps if you posted your XSLT and brief example of your XML we, or
>> xsl-lists could be of more help, or if I misunderstand a more complete
>> explanation of your problem since I don't understand specifically what it
>> is.
>> 
>> The general process is XML + XSLT -> XSL-FO -> PDF.  The XSL-FO -> PDF is
>> quite easy and described in detail on the FOP web site.
>> 
>> Rick
>> 
>> -----Original Message-----
>> From: vijay [mailto:mamilla.v@gmail.com] 
>> Sent: Monday, September 18, 2006 7:11 AM
>> To: fop-users@xmlgraphics.apache.org
>> Subject: xml to pdf (generic)
>> 
>> 
>> Hi all.
>> This is a problem related to the conversion from XML to PDF.
>> I have a system generated dynamic XML(where the child nodes may vary
>> accordingly) that i need to convert to a PDF format file using xsl-fo. 
>> In the required PDF the node values in the system XML should appear in
>> proper row n column format.
>> 
>> for example if the XML contains 2 childs under the root node n  the child
>> nodes further contain 4 childs so the table will b of the size: 2*4( i.e.
>> 2
>> rows n 4 cols)
>> 
>> 
>> thanks in advance
>> 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/xml-to-pdf-%28generic%29-tf2291175.html#a6363356
>> Sent from the FOP - Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> 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
>> 
>> 
>> 
> http://www.nabble.com/file/28/snapshot_pdf.doc snapshot_pdf.doc 
> -- 
> View this message in context:
> http://www.nabble.com/xml-to-pdf-%28generic%29-tf2291175.html#a6388341
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 
http://www.nabble.com/file/32/pdf.xsl pdf.xsl 
-- 
View this message in context: http://www.nabble.com/xml-to-pdf-%28generic%29-tf2291175.html#a6393803
Sent from the FOP - Users mailing list archive at Nabble.com.


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


RE: xml to pdf (generic)

Posted by Rick Roen <Ri...@LakeValleySeed.com>.
Vijay,

You will have to post a copy of your "coun.xslt" also.

With just the xml we cannot tell what you are trying to do to convert to
XSL-FO 

Rick

-----Original Message-----
From: vijay [mailto:mamilla.v@gmail.com] 
Sent: Tuesday, September 19, 2006 7:38 AM
To: fop-users@xmlgraphics.apache.org
Subject: RE: xml to pdf (generic)


Hi..
Im hereby attaching a sample XML which im using for coversion to PDF and the
desired PDF.

here is my xml file :- 

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="coun.xslt"?>
<root record_count="45">
      <header>My Report Header</header> 
      <name>My Report</name>
      <footer>My Report Footer</footer> 
	<object ID="090032ae80006f3b"> 
                <r_object_id>090032ae80006f3b</r_object_id> 
                <object_name>09/11/2006 05:41:26                          
dm_DataDictionaryPublisher</object_name> 
                <r_creation_date>09/11/2006 05:41:28 AM</r_creation_date> 
  </object> 



	<object ID="090032ae80006f3e"> 
        <r_object_id>090032ae80006f3e</r_object_id> 
        <object_name>09/11/2006 06:10:57                     
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 06:10:58 AM</r_creation_date> 
  </object> 

<object ID="090032ae80006f45"> 
        <r_object_id>090032ae80006f45</r_object_id> 
        <object_name>09/11/2006 06:40:58            
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 06:40:59 AM</r_creation_date> 
  </object> 
  
  <object ID="090032ae80006f48"> 
        <r_object_id>090032ae80006f48</r_object_id> 
        <object_name>09/11/2006 07:11:29              
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 07:11:30 AM</r_creation_date> 
  </object> 
  
  <object ID="090032ae80006f4b"> 
        <r_object_id>090032ae80006f4b</r_object_id> 
        <object_name>09/11/2006 07:11:59 dm_GwmTask_Alert</object_name> 
        <r_creation_date>09/11/2006 07:11:59 AM</r_creation_date> 
  </object> 
   
 <object ID="090032ae80006f4f"> 
        <r_object_id>090032ae80006f4f</r_object_id> 
        <object_name>09/11/2006 07:41:29            
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 07:41:31 AM</r_creation_date> 
 </object> 
 
<object ID="090032ae80006f52"> 
        <r_object_id>090032ae80006f52</r_object_id> 
        <object_name>09/11/2006 08:05:30 dm_GwmTask_Alert</object_name> 
        <r_creation_date>09/11/2006 08:05:31 AM</r_creation_date> 
</object> 
 
<object ID="090032ae80006f56"> 
        <r_object_id>090032ae80006f56</r_object_id> 
        <object_name>09/11/2006 08:10:30                     
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 08:10:31 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f59"> 
        <r_object_id>090032ae80006f59</r_object_id> 
        <object_name>09/11/2006 08:41:01            
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 08:41:02 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f5c"> 
        <r_object_id>090032ae80006f5c</r_object_id> 
        <object_name>09/11/2006 09:00:32 dm_GwmTask_Alert</object_name> 
        <r_creation_date>09/11/2006 09:00:33 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f5f"> 
        <r_object_id>090032ae80006f5f</r_object_id> 
        <object_name>080032ae80000282</object_name> 
        <r_creation_date>09/11/2006 09:00:33 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f60"> 
        <r_object_id>090032ae80006f60</r_object_id> 
        <object_name>Contracts Client ReportMMDDYYYY</object_name> 
        <r_creation_date>09/11/2006 09:02:41 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f62"> 
        <r_object_id>090032ae80006f62</r_object_id> 
        <object_name>09/11/2006 09:11:02          
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 09:11:04 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f64"> 
        <r_object_id>090032ae80006f64</r_object_id> 
        <object_name>DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 09:11:04 AM</r_creation_date> 
</object> 

<object ID="670032ae80000100"> 
        <r_object_id>670032ae80000100</r_object_id> 
        <object_name>CSEC Plugin</object_name> 
        <r_creation_date>06/15/2006 07:33:03 PM</r_creation_date> 
</object> 

 
</root>

Iam attaching the snapshot of the desired PDF.







Rick Roen wrote:
> 
> Vijay,
> 
> This seems more like a question about XML -> XSLT conversion.
> 
> A better group for that would be xsl-list@lists.mulberrytech.com.
> 
> Perhaps if you posted your XSLT and brief example of your XML we, or
> xsl-lists could be of more help, or if I misunderstand a more complete
> explanation of your problem since I don't understand specifically what it
> is.
> 
> The general process is XML + XSLT -> XSL-FO -> PDF.  The XSL-FO -> PDF is
> quite easy and described in detail on the FOP web site.
> 
> Rick
> 
> -----Original Message-----
> From: vijay [mailto:mamilla.v@gmail.com] 
> Sent: Monday, September 18, 2006 7:11 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: xml to pdf (generic)
> 
> 
> Hi all.
> This is a problem related to the conversion from XML to PDF.
> I have a system generated dynamic XML(where the child nodes may vary
> accordingly) that i need to convert to a PDF format file using xsl-fo. 
> In the required PDF the node values in the system XML should appear in
> proper row n column format.
> 
> for example if the XML contains 2 childs under the root node n  the child
> nodes further contain 4 childs so the table will b of the size: 2*4( i.e.
> 2
> rows n 4 cols)
> 
> 
> thanks in advance
> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/xml-to-pdf-%28generic%29-tf2291175.html#a6363356
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 
http://www.nabble.com/file/28/snapshot_pdf.doc snapshot_pdf.doc 
-- 
View this message in context:
http://www.nabble.com/xml-to-pdf-%28generic%29-tf2291175.html#a6388341
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


RE: xml to pdf (generic)

Posted by vijay <ma...@gmail.com>.
Hi..
Im hereby attaching a sample XML which im using for coversion to PDF and the
desired PDF.

here is my xml file :- 

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="coun.xslt"?>
<root record_count="45">
      <header>My Report Header</header> 
      <name>My Report</name>
      <footer>My Report Footer</footer> 
	<object ID="090032ae80006f3b"> 
                <r_object_id>090032ae80006f3b</r_object_id> 
                <object_name>09/11/2006 05:41:26                          
dm_DataDictionaryPublisher</object_name> 
                <r_creation_date>09/11/2006 05:41:28 AM</r_creation_date> 
  </object> 



	<object ID="090032ae80006f3e"> 
        <r_object_id>090032ae80006f3e</r_object_id> 
        <object_name>09/11/2006 06:10:57                     
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 06:10:58 AM</r_creation_date> 
  </object> 

<object ID="090032ae80006f45"> 
        <r_object_id>090032ae80006f45</r_object_id> 
        <object_name>09/11/2006 06:40:58            
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 06:40:59 AM</r_creation_date> 
  </object> 
  
  <object ID="090032ae80006f48"> 
        <r_object_id>090032ae80006f48</r_object_id> 
        <object_name>09/11/2006 07:11:29              
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 07:11:30 AM</r_creation_date> 
  </object> 
  
  <object ID="090032ae80006f4b"> 
        <r_object_id>090032ae80006f4b</r_object_id> 
        <object_name>09/11/2006 07:11:59 dm_GwmTask_Alert</object_name> 
        <r_creation_date>09/11/2006 07:11:59 AM</r_creation_date> 
  </object> 
   
 <object ID="090032ae80006f4f"> 
        <r_object_id>090032ae80006f4f</r_object_id> 
        <object_name>09/11/2006 07:41:29            
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 07:41:31 AM</r_creation_date> 
 </object> 
 
<object ID="090032ae80006f52"> 
        <r_object_id>090032ae80006f52</r_object_id> 
        <object_name>09/11/2006 08:05:30 dm_GwmTask_Alert</object_name> 
        <r_creation_date>09/11/2006 08:05:31 AM</r_creation_date> 
</object> 
 
<object ID="090032ae80006f56"> 
        <r_object_id>090032ae80006f56</r_object_id> 
        <object_name>09/11/2006 08:10:30                     
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 08:10:31 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f59"> 
        <r_object_id>090032ae80006f59</r_object_id> 
        <object_name>09/11/2006 08:41:01            
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 08:41:02 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f5c"> 
        <r_object_id>090032ae80006f5c</r_object_id> 
        <object_name>09/11/2006 09:00:32 dm_GwmTask_Alert</object_name> 
        <r_creation_date>09/11/2006 09:00:33 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f5f"> 
        <r_object_id>090032ae80006f5f</r_object_id> 
        <object_name>080032ae80000282</object_name> 
        <r_creation_date>09/11/2006 09:00:33 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f60"> 
        <r_object_id>090032ae80006f60</r_object_id> 
        <object_name>Contracts Client ReportMMDDYYYY</object_name> 
        <r_creation_date>09/11/2006 09:02:41 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f62"> 
        <r_object_id>090032ae80006f62</r_object_id> 
        <object_name>09/11/2006 09:11:02          
dm_DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 09:11:04 AM</r_creation_date> 
</object> 

<object ID="090032ae80006f64"> 
        <r_object_id>090032ae80006f64</r_object_id> 
        <object_name>DataDictionaryPublisher</object_name> 
        <r_creation_date>09/11/2006 09:11:04 AM</r_creation_date> 
</object> 

<object ID="670032ae80000100"> 
        <r_object_id>670032ae80000100</r_object_id> 
        <object_name>CSEC Plugin</object_name> 
        <r_creation_date>06/15/2006 07:33:03 PM</r_creation_date> 
</object> 

 
</root>

Iam attaching the snapshot of the desired PDF.







Rick Roen wrote:
> 
> Vijay,
> 
> This seems more like a question about XML -> XSLT conversion.
> 
> A better group for that would be xsl-list@lists.mulberrytech.com.
> 
> Perhaps if you posted your XSLT and brief example of your XML we, or
> xsl-lists could be of more help, or if I misunderstand a more complete
> explanation of your problem since I don't understand specifically what it
> is.
> 
> The general process is XML + XSLT -> XSL-FO -> PDF.  The XSL-FO -> PDF is
> quite easy and described in detail on the FOP web site.
> 
> Rick
> 
> -----Original Message-----
> From: vijay [mailto:mamilla.v@gmail.com] 
> Sent: Monday, September 18, 2006 7:11 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: xml to pdf (generic)
> 
> 
> Hi all.
> This is a problem related to the conversion from XML to PDF.
> I have a system generated dynamic XML(where the child nodes may vary
> accordingly) that i need to convert to a PDF format file using xsl-fo. 
> In the required PDF the node values in the system XML should appear in
> proper row n column format.
> 
> for example if the XML contains 2 childs under the root node n  the child
> nodes further contain 4 childs so the table will b of the size: 2*4( i.e.
> 2
> rows n 4 cols)
> 
> 
> thanks in advance
> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/xml-to-pdf-%28generic%29-tf2291175.html#a6363356
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 
http://www.nabble.com/file/28/snapshot_pdf.doc snapshot_pdf.doc 
-- 
View this message in context: http://www.nabble.com/xml-to-pdf-%28generic%29-tf2291175.html#a6388341
Sent from the FOP - Users mailing list archive at Nabble.com.


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


RE: xml to pdf (generic)

Posted by Rick Roen <Ri...@LakeValleySeed.com>.
Vijay,

This seems more like a question about XML -> XSLT conversion.

A better group for that would be xsl-list@lists.mulberrytech.com.

Perhaps if you posted your XSLT and brief example of your XML we, or
xsl-lists could be of more help, or if I misunderstand a more complete
explanation of your problem since I don't understand specifically what it
is.

The general process is XML + XSLT -> XSL-FO -> PDF.  The XSL-FO -> PDF is
quite easy and described in detail on the FOP web site.

Rick

-----Original Message-----
From: vijay [mailto:mamilla.v@gmail.com] 
Sent: Monday, September 18, 2006 7:11 AM
To: fop-users@xmlgraphics.apache.org
Subject: xml to pdf (generic)


Hi all.
This is a problem related to the conversion from XML to PDF.
I have a system generated dynamic XML(where the child nodes may vary
accordingly) that i need to convert to a PDF format file using xsl-fo. 
In the required PDF the node values in the system XML should appear in
proper row n column format.

for example if the XML contains 2 childs under the root node n  the child
nodes further contain 4 childs so the table will b of the size: 2*4( i.e. 2
rows n 4 cols)


thanks in advance


-- 
View this message in context:
http://www.nabble.com/xml-to-pdf-%28generic%29-tf2291175.html#a6363356
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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