Search This Blog

Monday, February 21, 2011

XStudio 1.5: Import requirements from Word documents

We are working at the moment on a Word exporter.
The goal is to be able to read/parse some Word document to export requirements in an XML file that XStudio can import.

2 modes are available:
1) the "deep" mode reads the Word document and will interpret any "leaf" tree node as a requirement. All its parent chapters will be imported as folders in the requirement tree
2) the "flat" mode reads on the summary of the Word document and import any entry (inluding the head numbering)

The programs takes 2 arguments:
ExportFromWord.exe inputFolder outputXML

All the Word documents in the input folder are parsed but only one single output XML is generated.

Example:
ExportFromWord.exe "C:\Documents and Settings\egavaldo\Desktop" "C:\exportFromWord.xml"

3 comments:

  1. I am wondering if the source requirement document shall need any specific format?
    In theory, the leaf nodes might contain links, drawings and tables in additions to regular text.
    Will the tables be converted to Wiki style tables, and drawings imported to the XStudio DB?

    Another issue might be that large quantities of redundant items might be imported, deleting these one by one, or moving required ones one by one, might be a bit tedious - need to consider multi-selection delete.

    ReplyDelete
  2. Please check out http://xqual.blogspot.com/2011/03/user-groups-projects-and-access-rights.html
    This describe a newer version of this tool...

    I'm answering your question there.

    ReplyDelete