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

RE: Is this strategy for runtime fixed-width->xml con

Subject: RE: Is this strategy for runtime fixed-width->xml conversions worthwhile?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 28 Apr 2006 22:43:21 +0100
RE:  Is this strategy for runtime fixed-width->xml  con
You might be interested in 

http://www.idealliance.org/proceedings/xml04/papers/111/mhk-paper.html

to see how far this kind of approach can take you. What you are proposing is
much simpler. As you say, it could be done in a variety of ways, but it's
certainly not overkill to use XSLT for this.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Karr, David [mailto:david.karr@xxxxxxxx] 
> Sent: 28 April 2006 22:09
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Is this strategy for runtime fixed-width->xml 
> conversions worthwhile?
> 
> I'm wondering about viable strategies for runtime conversion 
> of fixed-width messages into XML (and back, I suppose).  I 
> know there are various frameworks that do this, but it 
> occurred to me this could be done entirely with XSLT.
> 
> The stylesheet would have a single template element, which 
> would cover the entire message format (unless there are 
> conditional pieces).  The input to the stylesheet could be 
> empty, and a single stylesheet parameter would be the "input" 
> to the stylesheet.  Each reference in the template to the 
> input would use the "substring()" function, to pull the 
> appropriate portion of the parameter into the element.
> 
> I'm not sure exactly how the reverse direction would work, however.
> 
> Is this approach at all worthwhile?  What are specific 
> problems with this idea?

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.