realbasic-nug
[Top] [All Lists]

Re: REALbasic XML Project Format

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: REALbasic XML Project Format
From: Ed Kleban <Ed at Kleban dot com>
Date: Fri, 30 Dec 2005 09:07:49 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AcYNUswjCqSNFXlGEdqPpwANk0o3Jg==
Thread-topic: REALbasic XML Project Format


On 12/30/05 8:43 AM, "Barry Traver" <rblog at ix dot netcom dot com> wrote:

> Two questions:
> 
> (1) Is there any information available on what changes have been made in
> the REALbasic XML format between RB 5.5 and RB 2005?

None that I'm aware of, perhaps Thomas will chime in.  If you find anything
like that I'd love to see it.

> It would seem that there are substantial differences.  Load an older .rb
> Project into RB 5.5 and save it as an XML file.  Then load the same .rb
> Project into RB 2005 and save it as an XML file.  Not only is the second
> XML file smaller by perhaps fifty lines or so (when one might expect the
> RB 2005 version to be larger, if anything), but also the content is
> radically re-arranged.
> 
> Now I know that it's possible to rearrange the contents without
> affecting the Project or hurting the XML file (I wrote a routine to do
> it myself, so that the methods and properties would appear in
> alphabetical order when printed out from within the RB IDE), but - since
> the files are also different sizes - it would appear that it is not
> simply a matter of rearrangement, but of differences in content.
> 

Some changes that I'm aware of include the content of the Project block,
notably the FileType items have been moved out of the Project block to
become blocks of their own -- as is also reflected in the 2005 IDE.  Also
there is the UIState block at the end.

Thomas and I had a discussion on the REALsource mailing list in which we
talked about all of the XML components and structure in the process of
coming up with some standard terminology for naming all the different XML
and representative RB structures one needs to work with in dissecting and
reassembling XML files.  You might get some good additional tips there:

REALsource Parse Tree Terminology
http://groups.google.com/group/REALsource/browse_frm/thread/81b5c4ae1ebd7adf
 
* Group name:                    REALsource
* Group description on RBWiki:   http://rbwiki.org/doku.php/rbp/realsource
* Group home page:               http://groups.google.com/group/REALsource
* Group email address:           REALsource at googlegroups dot com

> (2)  Is REAL Software's "white paper" REALbasic XML Project at
> http://www.realsoftware.com/support/whitepapers/xml/ an accurate
> description of the RB 5.5 XML format, the RB 2005 XML format, or both?

No clue.  I know of it.  I've stared at it.  I've never really read it,
having discovered it long after learning most of what it discusses the hard
way.
 
> Barry Traver

Hope this helps.
--Ed


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>