Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-21-2007, 03:15 PM
mvermeulen mvermeulen is online now
Registered User
 
Join Date: 07-15-2003
Posts: 56
Send a message via Yahoo to mvermeulen
HTML Transform - Output Step Ignoring CRLF

I have the output of a Subversion log going to standard output. When I perform a Transform XML step the carriage return/line feeds appear to be ignored and the output runs together.

Do you know if this is an xslt issue or something specific to the transform step?

Thanks.....
Reply With Quote
  #2  
Old 09-24-2007, 07:22 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
CR/LF chars in the step output carry through to the HTML file in our tests (note that newlines are normally treated as whitespace rather than line breaks in browsers, but TransformLog.xslt puts step output within PRE tags to force newlines to be processed as line breaks).

Please ZIP and send or post:
1) The info from Help | About | Install Info
2) The .bld file
3) A build log file (XML and HTML)
4) The browser brand+version used to view the log file

Thanks.
Reply With Quote
  #3  
Old 09-24-2007, 07:44 AM
mvermeulen mvermeulen is online now
Registered User
 
Join Date: 07-15-2003
Posts: 56
Send a message via Yahoo to mvermeulen
The <pre> tags actually did the trick! I have been using a modified version of this for couple of years and had not looked at the standard transform for quite some time.

Below is a section of the xslt with the <pre> tags now added...

<xsl:for-each select="$BuildStatusFilter">
<xsl:for-each select="step[@action='Subversion']">
<xsl:if test="name='Subversion Log'">
<tr>
<td class="NormalBold">:</td>
<td class="Normal">
<pre><xsl:value-of select="output"/></pre>
</td> </tr> </xsl:if>
</xsl:for-each> </xsl:for-each>

Thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 04:09 PM.


Copyright © 1999-2023 Kinook Software, Inc.