Insert Text @ specific location [message #173327] |
Fri, 13 August 2004 16:47 |
Eclipse User |
|
|
|
Originally posted by: jai.kejriwal.air2web.com
I have dialogs that allow the input data from the user and then create an
appropriate xml tag
and then add that to the xml file. However, different dialogs generate tags
that correspond to
different sections in the xml file. I want to know how I implement this
functionality.
For example:
Lets say I have two sections in my file
1. setup
I can add tasks that are to be done during setup
2. data
I can add variables w/ a type and value
<program>
<setup>
<task>
<name>login</name>
</task>
<task>
<name>welcome message</name>
</task>
</setup>
<data>
<variable>
<name></name>
<type></type>
<value></value>
</variable>
</data>
</program>
Now I have dialogs for each adding a setup task and a data task. After
acceptin the input from the user
the appropriate tag is generated and needs to be placed in the correct place
in the file. How do I do this?
Thanks in advance.
Jai
|
|
|
Powered by
FUDForum. Page generated in 0.07280 seconds