[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] [no subject]
I don't know if anyone is interested, but I recently had to write a script to generate straight ASCII text from an XML document. Problem was, I needed to "wrap" lines on word boundaries not exceeding a maximum line length. Since the solution seemed to be an interesting problem in XSL/T (since we can't simply loop over a counter) and involves several levels of recursion, I thought I'd mention it to anyone who would like to see what the result was. You can pick up a copy of the script (set up for use in an xsl:include), and a sample test script and xml doc at: http://www.retrievalsystems.com Let me know if you have any comments or suggestions Steve Carton XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|