[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: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Mon, 24 Jan 2011 11:00:40 +0000
Re:  Text based stage play scripts to XML
> Any help, samples or links to similar problems and solutions will be
> dearly appreciated. I need to get this done today, and I'm not
> winning.

> Input is simple TXT with tabs here and there that may be helpful. The
> documents are of consistent structure and format, so I guess it can be
> done. I am currently experimenting with replace() and tokenize(), but
> I must admit I'm lost.

You may get someone to write the solution for you for free, but really
this is a complete piece of work that could/should be paid for.

If you did want to tackle it yourself, you need to use unparsed-text
to read the non-xml file, then tokenize() it into a $lines variable,
then process each line generating the relevant markup based on the
content in that line.




-- 
Andrew Welch
http://andrewjwelch.com

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.