Subject: RE: [xsl] Line breaks added during transformation From: "Paul Signorelli" <paul@xxxxxxxxxxxxxxxx> Date: Wed, 21 Feb 2001 09:39:13 -0500 |
I've indicated them with a <br> and they are only in one place, the last <text> tag example -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Michael Kay Sent: Wednesday, February 21, 2001 9:22 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] Line breaks added during transformation I suspect the mail system has played havoc with your line breaks. Could you perhaps indicate them by some visible symbol? Mike Kay > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Paul > Signorelli > Sent: 21 February 2001 13:32 > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] Line breaks added during transformation > > > I have the following XML Document > > <AdData> > <Ad> > <account>My Account</account> > <name>My Name</name> > </Ad> > </AdData> > > and am using the following XSL document to transform it to another XML > document > > <?xml version="1.0"?> > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > version="1.0"> > <xsl:output method="xml"/> > <xsl:template match="AdData"> > <xsl:for-each select="Ad"> > <text>Line 1: <xsl:value-of select="Account"/> / <xsl:value-of > select="Name"/>Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah > Blah</text> > </xsl:for-each> > </xsl:template> > </xsl:stylesheet> > > I expect to get a document that looks like > > <text>Line 1: My Account / My Name Blah Blah Blah Blah Blah Blah Blah > Blah Blah Blah Blah Blah</text> > > but instead I get > > <text>Line 1: My Account / My Name Blah Blah Blah Blah Blah<br> > Blah Blah Blah Blah Blah Blah Blah</text> > > where line breaks are inserted at points in the line where they do not > exist in the source of either the XML or XSL (I have verified this). > > Does anyone have any ideas???? > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > 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] Line breaks added during , Michael Kay | Thread | [xsl] Line breaks added during tran, Paul Signorelli |
RE: [xsl] forcing Line breaks, Michael Kay | Date | RE: [xsl] Line breaks added during , Robert C. Lyons |
Month |