How to write the xsl file for rectangles and lines
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 8
- Joined: Wed Jan 18, 2006 9:53 am
How to write the xsl file for rectangles and lines
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
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
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service