-
<xsl:with-param name="outputstring" select="." /> value output omit html f
When I select the value with <xsl:copy-of select="."/> I retain all my
HTML formatting which is what I want, however, when I select and pass it
as param I lose my HTML formatting. I am passing the <xsl:with-param
name="outputString" select="." />. I'm passing it as param so I can search
and replace some string characters.
Here is the code:
<xsl:for-each select="text[@target='copy']">
<xsl:value-of select="."/>
<hr />
</xsl:for-each>
Same code but loose HTML formatting:
<xsl:for-each select="text[@target='copy']">
<xsl:call-template name="globalReplace">
<xsl:with-param name="outputString" select="." />
</xsl:call-template>
<hr />
</xsl:for-each>
Thanks for your help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks