Subject: add text string to output instance on line basis From: Michel Goossens <Michel.Goossens@xxxxxxx> Date: Thu, 7 Oct 1999 15:06:34 +0100 (MET) |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: select-distinct in for-each ?, Tangi Vass | Thread | Re: select-distinct in for-each ?, David Carlisle |
Re: select-distinct in for-each ?, Tangi Vass | Date | Re: XML/XSL unixish transform?, zun |
Month |