This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
No Subject
- To: <xsl-list at mulberrytech dot com>
- From: "Steve Carton" <scarton at retrievalsystems dot com>
- Date: Fri, 17 Nov 2000 17:51:03 -0500
- References: <3A15AE02.3F5810C5@digitalfairway.com>
- Reply-To: xsl-list at mulberrytech dot com
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