Author Topic: A lot of text in doc convert in requirements  (Read 85 times)

NickBs

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
A lot of text in doc convert in requirements
« on: August 13, 2018, 09:12:12 pm »
Someone know scripts or add-in for parse doctype? I'm have a lot of requirements and do it by hands is bad idea.
Example of text:
1. Test
1.1 req1 text:
-text;
-text;
1.2 req2 text

qwerty

  • EA Guru
  • *****
  • Posts: 9484
  • Karma: +156/-143
  • I'm no guru at all
    • View Profile
Re: A lot of text in doc convert in requirements
« Reply #1 on: August 13, 2018, 09:46:49 pm »
In my old days we used DOORS for that. I'd guess it's still used. And looks the same as in the 90's...

q.

NickBs

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: A lot of text in doc convert in requirements
« Reply #2 on: August 13, 2018, 10:31:47 pm »
Oh, i check it. It's kinda pretty but... not EA.  :-\

Uffe

  • EA Practitioner
  • ***
  • Posts: 1271
  • Karma: +93/-8
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: A lot of text in doc convert in requirements
« Reply #3 on: August 13, 2018, 11:45:27 pm »
Hi Nick,

eaDocx might be worth checking out, they might be able to do something along those lines.

/Uffe
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 9484
  • Karma: +156/-143
  • I'm no guru at all
    • View Profile
Re: A lot of text in doc convert in requirements
« Reply #4 on: August 14, 2018, 02:00:43 am »
Yes. DOORS is not EA. But it's designed for handling requirements. And you can use either the DOORS MDG or a simple script (I preferred that) to get the requirements into EA.

q.

steen.jensen@sll.se

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: A lot of text in doc convert in requirements
« Reply #5 on: August 14, 2018, 06:16:51 am »
The Office MDG can parse word-doc if there is some structure.
I use it time to time to convert word-doc to EA requirement

NickBs

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: A lot of text in doc convert in requirements
« Reply #6 on: August 14, 2018, 05:57:52 pm »
Thanks, but DOORS too massive solution for our integration. Also, it's no small script for this... i'm examine the features of the structure of word files and realized that this is a Pandora's box.  :-\

I looked at MDG, good software but not suitable for our document structure.

Thankyou evryone!  ;D

qwerty

  • EA Guru
  • *****
  • Posts: 9484
  • Karma: +156/-143
  • I'm no guru at all
    • View Profile
Re: A lot of text in doc convert in requirements
« Reply #7 on: August 15, 2018, 05:12:55 am »
Guess why DOORS is such a monster xD

q.

Sunshine

  • EA User
  • **
  • Posts: 634
  • Karma: +41/-1
  • Emoji's make you look younger
    • View Profile
Re: A lot of text in doc convert in requirements
« Reply #8 on: August 15, 2018, 07:20:30 am »
Thanks, but DOORS too massive solution for our integration. Also, it's no small script for this... i'm examine the features of the structure of word files and realized that this is a Pandora's box.  :-\
Yep spent a long time using DOORS back in 1997 - it was a beast then.

I looked at MDG, good software but not suitable for our document structure.
Why is that ?

Looking at your example text
Quote
Example of text:
1. Test
1.1 req1 text:
-text;
-text;
1.2 req2 text
I can state categorically that I've had very similar structured documents and managed to import successfully using the Office MDG. Takes a bit of experimentation but it works.

Is the document inconsistent/ badly structured? I've found I've been able to import a lot of MS word docs using the Office MDG by pre-processing the doc using search and replace or scripts to fix that type of problem before importing using the Office MDG.
Remember MS word has some very powerful text manipulation built in so you could reformat the doc so its easier to import into Sparx EA.

Alternatively you could save the doc as Word XML and use XSTL to transform into a CSV then import that.

The last option is to go through the doc and manually reconstructed it in Sparx EA using cut and paste. But that would be tedious.

Well there are some alternative approaches  on tackling your problem for you to investigate further. However I'd be tempted to investigate the Office MDG further.
« Last Edit: August 15, 2018, 07:29:45 am by Sunshine »