File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSLT

 
Amit Goel
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in XSLT how do i insert white space characters in the stylesheets while displaying the output in the text mode.
[This message has been edited by amit goel (edited September 10, 2001).]
 
Tanya Rawat
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you mean by white space like in HTML & nbsp ; then in place of that in XSL it is & #xA0 ; please discard white spaces before and after nbsp and #xA0 between & and ; because if i write it correctly it is leaving white space and it could not be seen.

 
Jain Saurabh
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can do this by using
<xsl:text> </xsl:text>
Hope it works!!!
 
Jain Saurabh
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my previous answer was iterpreted to be taken as a space i think they are also using xml
<xsl:text>& #xa0;</xsl:text>
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic