Hey i have a situation in which i need to pass some variable value in jsp to xml file.
for example if i have int a = 10;
and i want to pass value of "a" to xml file which is something like:-
<graph caption='Estimated Renewal Cost' xAxisName='Year' yAxisName='Units (US Dollars)' showNames='1' decimalPrecision='0' formatNumberScale='0'>
<set name='Backlog' value='19273773' color='AFD8F8' />
</graph>
so in i want the value of "a" to be brought at value attribute of set tag in xml.
Actually i'm using fusion charts to generate graph and want to have dynamic graph which may change according to my jsp page. And as far as i know fusion charts only accept data in xml format.
I have no experience with xml.