| 1. |
Create a xml file using any
text editor or notepad <test>
<xmlnode attribute1="Attribute Value">xml
node value</xmlnode> </test>
|
 |
| 2. |
Save the xml file to c:\test\test.xml |
 |
| 3. |
Start Screen Babe |
 |
| 4. |
Create a blank project |
 |
| 5. |
Add a new number variable and named it as
"node" |
 |
| 6. |
Add a new number variable and named it as
"attribute" |
 |
| 7. |
Add a new number variable and named it as
"root" |
 |
| 8. |
Add a new text variable and named it as
"value" |
 |
| 9. |
Create a new Popup Menu |
 |
| 10. |
Enter "Test XML" on Menu Caption |
 |
| 11. |
Click [none] on right side
"Click Script" to define action
and it will bring you to script editor |
 |
| 12. |
Select XML Operation > Save & Load
> Load From File |
 |
| 13. |
Enter c:\test\test.xml on filename parameter |
 |
| 14. |
Add new action XML Operation > Select
Node > Root |
 |
| 15. |
Select "root" variable which you
have created on step 7 |
 |
| 16. |
Add new action XML Operation > Select Node
> By Name |
 |
| 17. |
Select "node" variable which you
have created on step 5 on "Selected node" |
 |
| 18. |
Select "root" variable which you
have defined and allocated on step 15-16 on
"node" |
 |
| 19. |
Enter "xmlnode" on "name" |
 |
 |
| 20. |
Enter "0" on "Starting Position" |
 |
| 21. |
Add new action XML Operation > Node Function
> Get Value |
 |
| 22. |
Select "value" variable which you
have created on step 8 |
 |
| 23. |
Select "node" variable as data source
(Step 17) |
 |
| 24. |
Add new action Basic Action > Show Text |
 |
| 25. |
Enter "value" on text |
 |
| 26. |
Click OK |
 |
| 27. |
Press F5 to preview screenmates |