[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] make an fo:table with XSLT from an xml file
Hello, here is a sample of my xml file that I want to convert in pdf by using fop. <row> <cell> <para column="1" line="1">Session</para> </cell> <cell> <para column="2" line="1">Name</para> <para column="2" line="2">LAP</para> </cell> </row> the result must be (it is an extract): ... <fo:page-sequence master-reference="A4"> <fo:flow flow-name="xsl-region-body" font-family="sans-serif" font-size="12pt"> <fo:table border="solid black"> <fo:table-header text-align="center" font-weight="bold" background-color="silver"> <fo:table-row border-bottom="solid black"> <fo:table-cell padding="1mm" border-left="solid black"> <fo:block>Session</fo:block> </fo:table-cell> <fo:table-cell padding="1mm" border-left="solid black"> <fo:block>Name</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row border-bottom="solid black"> <fo:table-cell padding="1mm" border-left="solid black"> <fo:block></fo:block> </fo:table-cell> <fo:table-cell padding="1mm" border-left="solid black"> <fo:block>LAP</fo:block> </fo:table-cell> </fo:table-row> </fo:table-header> ... How can I manage this transformation with XSLT ? I hope my problem is well explained, if not ask me more information. Thanks in advance. stephane
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|