[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to trim leading and trailing spaces in xsl:at
David,
Could you post the template or a big enough chunk of it so we can see how the <xsl:attribute> instruction is set up? Ordinarily whitespace-only nodes are stripped from the stylesheet unless inside <xsl:text>, so we wouldn't expect to see what you're reporting. So there must be something special about your case (though you haven't described anything yet to account for it). Regards, Wendell At 02:28 PM 5/25/2005, you wrote: Using "normalize-space()" in my "xsl:value-of" element doesn't address the issue. It's not spaces in the variable I'm referencing that is an issue, it's the spaces that I produce by adding a newline after "<xsl:attribute ...>". I thought your "useful shortcut" would solve my problem, but that doesn't work for me. It fails, saying "select" is not a valid attribute for "xsl:attribute".
|
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
|