How to preserve hierarchy from import to export of VRML file

Hi,

I’m wondering if Blender can keep the same hierarchy of the original imported VRML file when it exports it, eg if I have this imported VRML file:

DEF SpaceCraft Transform {
  rotation 0.00367665 -0.995738 -0.0921549 0.00322502
  children Transform {
      rotation 1 0 0 1.5708
      children [
        DEF BUS Transform {
          rotation 1 0 0 4.71239
          DEF Boom Transform {
            rotation 0 1 0 229.329
            children Transform { ...
              }
          }
        ]
    }
}

Right after I imported, I then go to export it, Blender generates this:

DEF OB_BUS Transform {
    translation 0.127484 0.750416 -0.175729
    rotation -0.001606 0.999999 0.000013 3.134034
    scale 1.000000 1.000000 1.000000
    children [ ...
    ]
}
DEF OB_Boom Transform {
    translation 0.000000 0.000000 0.000000
    rotation 0.005135 -0.092152 0.995732 0.003225
    scale 1.000000 1.000000 1.000000
    children [ ...
    ]
}


So every single part that comprises the original SpaceCraft is now a separate object in world coordinates and all the relative transformation between them is lost. Is there a way to preserve the SpaceCraft children transformation relative to the SpaceCraft so that when I rotate the SpaceCraft, all its children get rotated along with the SpaceCraft. I’m using Blender 2.49a.

Thanks alot,

Linh