XSL ignores my whitespace even with the <xsl:text> tag

Posted by danielle on Stack Overflow See other posts from Stack Overflow or by danielle
Published on 2010-04-27T19:48:51Z Indexed on 2010/04/27 19:53 UTC
Read the original article Hit count: 437

Filed under:
|
|

I'm making a header in my XSL code that includes multiple fields of information, i.e. "Name: Bob Birthdate: January 1 1900," etc. I enclosed them in tags as such:

<xsl:text>    Gender: Male    </xsl:text> 

But on the page, the whitespace around Gender/Male is being ignored. Is there something I'm missing?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about xsl

Related posts about xslt