|
Hi!
I know this is faq... but I hadn't found
a nice solution for this kind of problems.
My xslt is:
<xsl:element name="a">
<xsl:attribute
name="href">
_javascript_:manageSLink('main-<xsl:value-of
select="$app"/>-
<xsl:value-of select="$report_id"/>- <xsl:value-of select="$level"/>- <xsl:value-of select="$theme"/> <xsl:text>?option=2&paths=</xsl:text><xsl:value-of select="@paths"/> <xsl:text>&level=</xsl:text><xsl:value-of select="descendant::dimpath/@name"/> <xsl:text>&in=</xsl:text><xsl:value-of select="$did"/> <xsl:text>&dim=</xsl:text><xsl:value-of select="$curr"/> <xsl:text>&refcube=</xsl:text><xsl:value-of select="/page/navigator-response/response/@name"/> <xsl:text>&sequence=</xsl:text><xsl:value-of select="/page/navigator-response/@sequence"/> <xsl:text>&sortp=</xsl:text><xsl:value-of select="$sfield"/>%20<xsl:value-of select="$sorder"/> <xsl:text>&maxrows=</xsl:text><xsl:value-of select="$html_maxrows"/>'); </xsl:attribute> </xsl:element>
I was expecting to get something
like:
<a href="_javascript_:manageSLink('main-altaia-trafego_pt-1-1?option=2&paths=&level=&in=time&dim=time&refcube=1784060393&sequence=&sortp=year%20asc&maxrows=');">Todos</a> But I get:
<a href="%0A%09%09%09%09%09%09%09%09%09%09%09%09javascript:manageSLink('main-altaia-%0A%09%09%09%09%09%09%09%09%09%09%09%09%09trafego_pt-%0A%09%09%09%09%09%09%09%09%09%09%09%09%091-%0A%09%09%09%09%09%09%09%09%09%09%09%09%091?option=2&paths=&level=&in=time&dim=time&refcube=1784060393&sequence=&sortp=year%20asc&maxrows=');%0A%09%09%09%09%09%09%09%09%09%09%09">Todos</a>
Thanks in advanced,
CDias
|
- Re: Unwanted white spaces in <xsl:attribute> Carlos Dias
- Re: Unwanted white spaces in <xsl:attribute> Patrick Verboom
- Re: Unwanted white spaces in <xsl:attribute>... Rui Alberto L.
- Re: Unwanted white spaces in <xsl:attribut... Joerg Heinicke
- Re: Unwanted white spaces in <xsl:attribut... Carlos Dias
