How do I display person height in inches xslt?

Here should go questions about transforming XML with XSLT and FOP.
winkimjr2
Posts: 62
Joined: Thu Jun 26, 2014 9:00 pm

How do I display person height in inches xslt?

Post by winkimjr2 »

I have an xml document with a person's height element. I am not sure how to use use xslt to transform this and display in inches. For example if a person height is 5 foot 5 inches how do I display 65 inches using xslt?
Here is my xml height element

Code: Select all

<HeightFeet>5</HeightFeet>
<HeightInches>5</HeightInches>
The output I want should be 65 inches