[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How do i put whitespace character in xsl file
The term "whitespace" in XML generally means one of the four characters x9, xA, xD, and x20. The term doesn't include other invisible characters such as non-breaking-space (xA0) or zero-width-space. To include a non-breaking-space in your stylesheet (and therefore in the output) use   You can use if you like, but it's not a predefined entity in XML, so you have to declare it in your DTD. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Frequent Fliers [mailto:frequent_fliers@xxxxxxxxxxx] > Sent: 31 May 2005 21:08 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: How do i put whitespace character in xsl file > > hi all, i have the following snippet of code: > <xsl:if test="attribute::*">( > <xsl:for-each select="@*"> > <xsl:value-of select="name()" />: > <xsl:value-of select="." /> > </xsl:for-each> ) > </xsl:if> > Now, if i want to put a whitespace after the <xsl:value-of > select="." />, i > try but this just throws a syntax error.how can i > insert a white > space? > thank you very much! > > _________________________________________________________________ > Winks & nudges are here - download MSN Messenger 7.0 today! > http://messenger.msn.co.uk
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|