[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: Jacobus Reyneke <jacobusreyneke@xxxxxxxxx>
Date: Mon, 24 Jan 2011 14:37:18 +0200
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.

Well spotted Jeroen! I searched through my archive and found
dictionary problem. It helped a great deal, thanks.

I'm still struggling with crux off the matter though. What XLST 2.0
will replace the following logic?

Take any input file and output a similar output file. While doing so
however, look for text located between identifiable patterns. Surround
this text with tags.

If input file contains:
a b c d e f g h i j

Pattern description:
any string that follow after the string "c d" and is followed by the
string "g h"

If pattern found:
Surround with <found-you>

Result:
a b c d<found-you> e f </found-you>g h i j

If someone can help me with this, then I should be able to solve my
own "dictionary" problem by creating an xslt that takes a source input
document, a XML pattern input document, and then iterates through the
input document applying the patterns one at a time.

Kind regards,
Jacobus

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.