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".
I would guess the only way to come close to addressing this is adding
the newline after "<xsl:value-of", as you did in your reply (either
intentionally or unintentionally), instead of after "<xsl:attribute
...>".
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--