Error Transform XML with XSL to FOP

Here should go questions about transforming XML with XSLT and FOP.
christophnagl
Posts: 4
Joined: Tue Jun 07, 2005 2:17 pm

Error Transform XML with XSL to FOP

Post by christophnagl »

Hey,

I tried to transform a XML File with the XSL File to a FOP, but the fop file is incorrect. The fo file is a kind of xml, but why I geht such a file? Please help me...
Here my fo file:

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


1
Cashdrawer 1
38,590.22

50,186.82

Bargeld Euro


-13,737.02

Offene Rechnung


2,140.42
1
Gutschein



Jul 7, 2006
1
03/01
003
Post registered

Jul 10, 2006 2:03:32 PM


01780


Administrator

Administrator



34000
Raiffeisenbank
Altenburg
D


10
10
0180 50 80 901 418
04600
Kornmarkt 10
10


Öffnungszeiten:
Montag bis Freitag: 09:00 - 19:00 Uhr
Samstag: 08:30 - 17:00 Uhr

MobilCom Shop Altenburg Inh.: Maja Bräuer - 10



Sie wurden von Administrator bedient.


Adviser:
Account number:
Bank code:
Bank:
Terminal:
CDR target balance
Cashdrawer-Login
Cashier:
Cashier-ID:
The contained vat:
executed on:
Fax:
INVOICE
INVOICE Nr:
Net
Page:
Payment
Terminal/Cashdrawer:
B-Day:
Post registered
Pre registered
printed on:
Receipt:
Voucher date:
Shop:
Tel.:
Units
Value (EUR)
Vat:


Amount
Name
Article-Nr.
Article
Final amount net
Final amount
INVOICE AMOUNT
QU
Net amount
Pos.
Quantity
Single price
Vat
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

FOP is applied on an XSL-FO file. You did not show your XML and XSLT files but I think first you should generate an XSL-FO file from the XML and XSLT sources and then apply FOP to the generated XSL-FO file.

Regards,
Sorin
Post Reply