Link to home
Start Free TrialLog in
Avatar of alcani
alcani

asked on

apache fop to transform an XML file to get a pdf using XSLT

Hi experts,

I’m using apache fop to transform an XML file to get a pdf using XSLT.

I have this node and I would like to display the information in the pdf file in 3 different rows


<cfdi:Traslados>
<cfdi:Traslado impuesto="IVA" tasa="16.00" importe="109.20" />
<cfdi:Traslado impuesto="IEPS" tasa="20.00" importe="91.00" />
<cfdi:Traslado impuesto="IEPS" tasa="50.00" importe="227.50" />
</cfdi:Traslados>

E.g.
IVA 16% = $109.20
IEPS 20 % = $91.00
IEPS 50% = $227.50

Could you please give me an example for that?

Regards,
ASKER CERTIFIED SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you off course need to change this
xmlns:cfdi="foo"
in the actual document namespace

It would help if you posted wellformed or vald XML snippets for testing
I had to make up a namespace to get it going