I wanted to create an XML template with the placeholders.
like
<Greeting>
<Name>__NAME__</Name>
<Age>__AGE__</Age>
</Greeting>
Then inside the java code i want to read the XML file and replace the placeholder with the values from the database...
like
<Greeting>
<Name>John</Name>
<Age>10</Age>
<Name>Louis</Name>
<Age>20</Age>
<Name>Martin</Name>
<Age>30</Age>
</Greeting>
Can anyone please help me .. how this can be done.. Do i need to use any parsers?
Bookmarks