Re: Text based stage play scripts to XML
be decently handled interactively by a smart human, I would not try to engineer a full-blown solution to the problem.
May take on it would be to again program a bunch of small throw-away programs (not necessarily in XSLT; Perl is often your friend in such cases), that, when run in sequence will get you close enough to the desired output, and finally tweak the result to make it match your target schema.
Quoting Jacobus Reyneke <jacobusreyneke@xxxxxxxxx>:
In short: I need to identify strings of text (probably using regular expressions) and wrap them as XML elements. However, the problem is sufficiently complex that I may need to find text based on text- and structural patterns before and after the text. I then need to encapsulate this text with tags.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format