Book a Demo

Author Topic: Convert documentation in a Project  (Read 4912 times)

Mauricio

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Convert documentation in a Project
« on: March 19, 2008, 01:37:02 am »
Hello,

I´ve just lost my project (file .eap), but I have the documentation (html) of this project.
Anyone knows if is it possible to convert this documentation in a project again?

Thanking advance.

Maurício

thomas.kilian

  • Guest
Re: Convert documentation in a Project
« Reply #1 on: March 19, 2008, 01:58:49 am »
Maybe in posting this in two further threads.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Convert documentation in a Project
« Reply #2 on: March 19, 2008, 02:01:31 am »
How sure are you that the project is actually lost?

Recovering from the HTML - if it is possible at all - will involve some serious work.

I suspect there is enough information in the HTML tree to assemble most of a project. The problem is that you'll have to convert the HTML directory tree into an XMI file. This is serious work.

You should be able to do this - at least most of it - with XSLT. But if you aren't familiar with transforms this will be very hard work.

David
No, you can't have it!

Mauricio

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Convert documentation in a Project
« Reply #3 on: March 19, 2008, 04:00:29 am »
Thank you for the tip David. I´ll try to do this.

Maurício

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Convert documentation in a Project
« Reply #4 on: March 19, 2008, 04:27:56 am »
Quote
You should be able to do this - at least most of it - with XSLT. But if you aren't familiar with transforms this will be very hard work.

Uh oh, that would require to figure out the algorithm how EA stores information in the HTML tree and as a lot of the navigation is done via JavaScript (including references) you will lose that information the same way as with images.
Davids idea is propably the right way to go- figure out the algorithm and structure of the HTML information and based on that data create an XSL stylesheet. You will have to ignore format information and navigation thus losing some information, as said above.
Though depending on the project size it might be more effective to have a few students rebuilding that model from scratch.

Good luck.

Oliver

thomas.kilian

  • Guest
Re: Convert documentation in a Project
« Reply #5 on: March 19, 2008, 05:21:18 am »
As I said: Chinese manpower is cheap.