![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: VS2005 "Show xslt output" and newlines >Thread Next - Re: VS2005 "Show xslt output" and newlines Re: VS2005 "Show xslt output" and newlinesTo: NULL Date: 12/5/2006 6:42:00 AM Yes I have. I typically use <xsl:param name="newline"> </xsl:param>. But neither work. I understand the xsl and the app that uses these xslt files, C# using the XslTransform class, works fine. I have even run them with CookTop(www.---.com) and get the expected results. My question is that VS2005 seems to treat all output as if it were xml and disregards superflurious whitespace and is there some way to control this behaviour. Have you tried running that from within vs2005 using the XML - Show XSLT Output menu option or with msxsl.exe? Do you get line breaks and how? -- kevin... "Martin Honnen" wrote: > kevin wrote: > > > <xsl:param name="newline"> > > </xsl:param> > > <xsl:template match="/"> > > <xsl:text>Line 1</xsl:text> > > <xsl:value-of select="$newline"/> > > <xsl:text>Line 2</xsl:text> > > </xsl:template> > > </xsl:stylesheet> > > Have you tried > <xsl:param name="newline" select="' '"/> > ? That seems safer then relying on line breaks in the xsl:param content. > > > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ > | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
