XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
kanthi kumarSubject: Including white spaces in xsl:when
Author: kanthi kumar
Date: 22 Jul 2008 07:03 AM
Hi All,

I want to include white spaces with '&' symbol in it.
This has to be done while using <xsl:when ...>

Ex:
<xsl:when test="$name">FirtstName & LastName</xsl:when>
A White space after FirstName
& symbol has to appear in output
A White space , then last name.

Thanks in advance

kanthik

Posttop
Tony LavinioSubject: Including white spaces in xsl:when
Author: Tony Lavinio
Date: 22 Jul 2008 09:44 AM
It's hard to tell exactly what you are asking for.
Remember that to include a literal &, you must
express it as &amp;.

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.