space and tab(removal) in xsl:attribute

Here should go questions about transforming XML with XSLT and FOP.
tasos
Posts: 3
Joined: Thu Apr 30, 2009 2:46 pm

space and tab(removal) in xsl:attribute

Post by tasos »

Hello people and nice to meet you.
Using visual studio i have a major problem editing xsl files.
When using:
<xsl:attribute name='onclick'>
space character space character space character alert('foo'); tab character tab character
</xsl:attribute>
The space or tabs(of course in visual studio i can convert tabs to spaces but it doesn't help) are included in the event.So this creates problems in id(for example) elements.
Is it possible by using the oxygen editor to remove spaces or tabs?