How to write the xsl file for rectangles and lines

Here should go questions about transforming XML with XSLT and FOP.
JANA
Posts: 8

How to write the xsl file for rectangles and lines

Wed Feb 22, 2006 7:37 am

Hi ....
I have a doubt in FOP

This is my xml file.... I want to print the lines and rectangles in pdf...

But i don't know how to write .xsl file.....

XML file:
<report><page number="1">
<line x1="354.000000" y1="315.000000" x2="354.000000" y2="415.000000" t1="1" t2="0" t3="0" t4="0">
</line>
<rect x1="0.000000" y1="115.000000" x2="708.000000" y2="25.000000" fill="1" penwidth="1" red="255" green="255" blue="127">
</rect>
<rect x1="0.000000" y1="115.000000" x2="708.000000" y2="170.000000" fill="0" penwidth="1" red="0" green="0" blue="0" >
</rect>
<rect x1="0.000000" y1="290.000000" x2="708.000000" y2="125.000000" fill="0" penwidth="1" red="0" green="0" blue="0" >
</rect>
<rect x1="0.000000" y1="0.000000" x2="708.000000" y2="25.000000" fill="1" penwidth="1" red="255" green="255" blue="127">
</rect>
<rect x1="0.000000" y1="290.000000" x2="708.000000" y2="25.000000" fill="1" penwidth="1" red="255" green="255" blue="127">
</rect>
</page>
</report>

Bye
JANA
+919849099672

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 1 guest