Keshava Murthy wrote:
I am giving below a part of xml file -
<solution> <stat>Alkaline Lysis Solution</stat> <date type="cb" name="MI01" table="mas_solutions" col="soln_prepdt" where="soln_name='Alkaline Lysis Solution'"> </date> </solution>
When this is converted to VM file, the component should be a dropdown menu(type="cb" --> cb indicates it is Combo box) and name of the component should be MI01 and it should have data populated from "soln_prepdt" column from "mas_solutions" table where "soln_name" ='Alkaline Lysis Solution'.
Interesting. Here's how I did something similar.
Using DOM4J, load your XML file as a Document and put it in the Velocity context. In your VM (Velocity template), step through the Document, creating the HTML you need.
Eric
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
