[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Text based stage play scripts to XML

Subject: Re: Text based stage play scripts to XML
From: jeroen@xxxxxxxx
Date: Mon, 24 Jan 2011 12:46:08 +0100
Re:  Text based stage play scripts to XML
This sounds like an up-tagging issue again, like the one discussed for dictionaries a short while ago. Unless you have some formal description of the format, for which you can write a formal parser, and the amount of material exceeds what can
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.

Jeroen.

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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.