C
Charles Law
Hi guys
A bit of curve ball here ... I have a document (Word) that contains a series
of instructions in sections and subsections (and sub-subsections). There are
350 pages of them.
I need to translate these instructions into something that can be processed
automatically, so I have used the Command pattern to set up a set of
commands that correspond to the various instructions in the document.
I have started to enter the instructions into an xml file, which I can
deserialise into my command hierarchy. However, transcribing 350 pages into
an xml document is tedious, time-consuming and error prone. Because I have
sections and subsections, my xml file is quite wide, as well as very long. I
use XMLSpy to edit the file, but I am forever scrolling backwards and
forwards, up and down, cutting and pasting, and losing my place.
Does anyone have any thoughts on how I might improve the situation, make my
file more maintainable, and perhaps automate the process somehow?
My first thought is to write a simple program to maintain the xml file, but
that could take just as long as entering the data.
Any thoughts very welcome.
TIA
Charles
A bit of curve ball here ... I have a document (Word) that contains a series
of instructions in sections and subsections (and sub-subsections). There are
350 pages of them.
I need to translate these instructions into something that can be processed
automatically, so I have used the Command pattern to set up a set of
commands that correspond to the various instructions in the document.
I have started to enter the instructions into an xml file, which I can
deserialise into my command hierarchy. However, transcribing 350 pages into
an xml document is tedious, time-consuming and error prone. Because I have
sections and subsections, my xml file is quite wide, as well as very long. I
use XMLSpy to edit the file, but I am forever scrolling backwards and
forwards, up and down, cutting and pasting, and losing my place.
Does anyone have any thoughts on how I might improve the situation, make my
file more maintainable, and perhaps automate the process somehow?
My first thought is to write a simple program to maintain the xml file, but
that could take just as long as entering the data.
Any thoughts very welcome.
TIA
Charles