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

split a string of expression into elements

Subject: split a string of expression into elements
From: Ha Nguyen <hoangha2k3@xxxxxxxxx>
Date: Sun, 22 Feb 2004 11:17:10 -0800 (PST)
string to expression
Hello !

I'd like to split a string of expressions into several
elements.
For example:
<string>
        x := b + c   
</string>

transform to sth like

<assignment>
       <left> x </left> 
       <right>  
             <operator> plus </operator>     
             <aleft> b </aleft>
             <aright> c </aright>
       </right>
</assignment>

The expression may be not simple like that, meaning
that it contains more operations x:= b + c - d ... 

Can you give me some directions how to transform like
that ? Can xslt match the string according to a
regular expression and give the substring? 

Thanks for your attention.
ha.

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.