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

ANNOUNCE: XSLT Newline to <br> Demo

Subject: ANNOUNCE: XSLT Newline to <br> Demo
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Mon, 23 Aug 1999 17:06:44 -0600
xslt newline
When emitting HTML, one may wish to have a sequence of character data
replaced with an element. A common example of this would be the translation
of newline characters to <br> tags. This demo shows a way to accomplish this
transformation using XSLT. Note that the "transformation" that occurs is
actually the construction of a result tree fragment that contains
alternating text and element nodes, based on the content of the original
string.

Requirements: Newline to <br> Transformation Demo is an XSL document that
must be applied to a source tree with an XSLT processor. The XSLT processor
must be compliant with the August 13 XSLT 1.0 Working Draft and must
implement the contains(), substring-before() and substring-after()
functions. It has been tested with James Clark's XT (19990822 version).

Get it at http://www.skew.org/xml/

(I would post it here, but I don't feel like reformatting it to fit in less
than 80 columns)



 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.