abstract:
<xsl:value-of select="dyn:GetSubStringFromArray( string($TagValue),'|',3)"/>
</xsl:variable>
.... other code....
<td align="left" valign="top">
<xsl:value-of select="$Description"/>
</td>
XML:
<result_record DATA="REPORTS_MONDAY| 11/24/2008| testing| Line 1{Need Help}Line2{Need Help}Line3"/>
Thanks in advance for the support...
Overview:
I need to substitute "{Need Help}" in my XML file with something that will force a carriage return in a cell. I have tried adding <br/> and ascii code for EL & CR. I hope this is something really simple and I just don't know HTML well enough !?
Details:
*I am using VB6 to create an XML file based on data from an .ini file and text boxes for user input. One of those textboxes, "description", allows for multiline input.
*I trap End of Line and Carriage Return and change to "{Need Help}" before I write the text to my XML file.
*I use the WebBrowser control to display my XML file in a VB6 form, I do this to avoid IE6 prompts for scripting and security.
Code snippets:
XSL:
<xsl:variable name="Description">
<xsl:value-of select="dyn:GetSubStringFromArray( string($TagValue),'|',3)"/>
</xsl:variable>
.... other code....
<td align="left" valign="top">
<xsl:value-of select="$Description"/>
</td>
XML:
<result_record DATA="REPORTS_MONDAY| 11/24/2008| testing| Line 1{Need Help}Line2{Need Help}Line3"/>
Thanks in advance for the support... |