3

I'm trying to convert a .groupproj project group file (from Delphi 2009), to use with Turbo Delphi Explorer, i.e., convert to .bdsgroup. The file structures are similar (xml). There are a easy way to do that? How?

Andreas Rejbrand
  • 105,602
  • 8
  • 282
  • 384

2 Answers2

2

The easiest way is to make a mapping between those XML formats, then write a transformation to transform from the Delphi 2009 format to the Delphi 2006 format.

A good way for writing transformations between various XML formats is using XSL-Transformation (XSLT).

XSLT is a very powerfull language, for instance, Internet Explorer uses an XML Stylesheet (res://msxml.dll/defaultss.xsl) to transform XML files into HTML and display them as a tree structure.

Jeroen Wiert Pluimers
  • 23,965
  • 9
  • 74
  • 154
2

Well, I guess @David Heffernan was right. I'm loosing time trying to convert a new .grouproj to a old .bdsgroup, so, I'm answering my own question: There are no easy way to convert a .groupproj to .bdsgroup, it's more easy to compare the packages "visually" opened into two IDEs the old and the new and so, create a new .groupproj from the old one.