[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] add text string to output instance on line basis
Is there an easy way to include "something" at the beginning of each "new line" when building the output tree instance. For instance, if I have an input file containing the following: <doc> <foo>text on line 1 text on line 2 text on line 3</foo> </doc> I would like to get output like: textfoo: text on line 1 textfoo: text on line 2 textfoo: text on line 3 Can I somehow trap the linefeed at the end of each line and add the string "textfoo: " just following it? Thanks for your help. mg ------------------------------------------------------- Dr. Michel Goossens Téléphone/Phone: (+41 22) 767-5028 IT Division Télécopie/Fax: (+41 22) 767-8630 CERN Courriel/Email: goossens@xxxxxxx CH-1211 Geneva 23 ou/or F-01631 CERN Cedex Switzerland France 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
|