How do I save an Xojo File in .XML format?
I just downloaded and installed Xojo.
With REALbasic, I was able to save a Project in several different formats, including .rbp and .xml. I found the latter particularly helpful, since by manipulating the contents of the file I was able painlessly to accomplish over a hundred tasks that would otherwise be difficult or impossible to do.
Here are a few examples of tasks that .xml format for Projects allows me to do:
1. Add automatic comment to End If line.
Example: End If // If Total > 200
2. Add automatic comment to Else line.
Example: Else // If NOT (Total > 200)
3. Add automatic comment to Next line.
Example: Next I // For I = 0 To LastLineNumber
4. Add "boilerplate" material to beginning of procedures (e.g., header telling name of procedure, purpose, programmer, date, etc.).
5. Add "boilerplate" material to end of procedures.
Example:
Exception
MsgBox "An error occurred in Window1.EnableMenuItems."
6. Check to see whether any Variables and any Properties have been given the same name.
7. Check to see whether any Variables are DIMensioned but never actually used.
8. Check to see whether any Properties in a procedure are defined but never actually used.
9. Change font throughout to System for font and 0 for font size..
10. Comment out all source code with indenting preserved (sometimes useful if a major rewrite of a program is needed).
11. Comment out all MsgBox statements (sometimes useful if MsgBox is used only for debugging).
12. Conform keywords to standard REALbasic format regarding case (e.g., "NEXT","next", "NExt" all become "Next").
13. Display source code on screen for entire project or for a particular procedure.
14. Display XML file on screen (including any modifications that have been made to the XML code).
15. Edit XML or extracted Source or search for string or whole word in XML or extracted Source.
16. Inset a space before and after mathematical operators ( + , - , , / , = , ^ , <> , >= , <= ), before or after parentheses symbols, and/or after commas.
17. Increase indentation of source code beyond the normal indentation (sometimes makes source code more readable).
18. Remove "//", " ' ", or "REM " symbols from source code.
19. Remove all automatic "Else", "End If", or "Next" comments (see 1, 2, and 3 above).
20. Remove all blank lines from source code.
21. Remove procedure headers or footers (see 4 and 5 above).
22. Remove highlighting from entire Project, setting the cursor at the top of each Method
23. Restore indentation of source code to normsdal (see 17 above).
24. Save to disk any of several lists (Constants, Controls, Line Labels, Menu Items, Methods, Modules, Passed Parameters, Properties),
25. Save to disk extracted ur edited source code displayed on the screen.
26. Save to disk (modified) XML file displayed on the screen (will run as a regular program).
27. Send to printer any list, source code, or XML file on the screen (see 24, 25, and 26).
28. Add appropriate counter variable to "Next" line (e.g., "Next" becomes "Next LineNumber").
29. Double- or triple-space source code.
30. Display list of modifications made to XML code by CodeHelper.
31. Obfuscate (or unobfuscate) source code by switching control names.
32. Change a "name" (variable name, property name, etc.) throughout the code (uses RegEx to change only "whole words").
33. Display project information (short or long).
Here’s my problem. I have not yet found how to save an Xojo Project in .xml format.
For that matter, I have also not yet found how to save an Xojo Project in “version control” format, another Project format that some here have found helpful.
I may be missing something simple. Can anyone tell me what it is? How do I save an Xojo Project in .XML format?
Warm regards,
Barry Traver
P.S. SInce Xojo can load in and run .xml files, it obviously understands what they mean.