Subject: Re: [xsl] NEWLINES From: "Joerg Heinicke" <joerg.heinicke@xxxxxx> Date: Tue, 5 Mar 2002 20:24:18 +0100 |
Hi Kim, you described your problem a bit to general. New lines can come from everywhere ;-) But in most cases they are caused by using <xsl:apply-templates/> (without any select-statement). <parent> <child/> <child/> </parent> element 'parent' |-- textnode consisting of newline and spaces |-- element 'child' |-- textnode consisting of newline and spaces |-- element 'child' |-- textnode consisting of newline and spaces When using <xsl:apply-templates/>, these textnodes will be copied to the output (built-in / default template). Does another template <xsl:template match="text()"/> help? Regards, Joerg ----- Original Message ----- From: "Kim Durand" <vsd18@xxxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, March 05, 2002 7:53 PM Subject: [xsl] NEWLINES > is there a way to remove unwanted newlines from the output?? > > i am getting for some reasons, unwanted newlines in the output. i > want to get rid of them. please help someone > many thanks > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] NEWLINES, Wendell Piez | Thread | RE: [xsl] NEWLINES, Michael Kay |
Re: [xsl] Lost Attributes?, Mike Ferrando | Date | RE: [xsl] Counting nodes processed, JAY SCHERER |
Month |