That was an XPath expression.

Use (assuming you have an xsl:variable named "report-name"):

<div id="panel_sw{report-name}" class="dlgPanel">
<xsl:attribute name="id">panel_sw<xsl:value-of select="normalize-
space($report-name)"/></xsl:attribute>
</div>

Further reading: XML in a nutshell, published by O'Reilly, look at chapter on XSL.

A.

On Tuesday, June 10, 2003, at 05:19 PM, Tim Bachta wrote:

Where do I put that?

-----Original Message-----
From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 3:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Spacing issues?

{normalize-space(report-name)}

Joerg

Tim Bachta wrote:
How come I am getting huge amounts of space between hard-coded items
and
database items in my view source when they should be no space
according
to my code?



Ex.

Code = <div id="panel_sw{report-name}" class="dlgPanel"> I would
expect
<div id="panel_swReportName" class="dlgPanel">



Source = <div class="dlgSwitch" id="sw

Overdue
Task
Report

">

* *



Tim Bachta


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--
André Thénot - [EMAIL PROTECTED]
p  e  a  c  e  :  p  a  i  x  :  p  a  x  :  s  h  a  l  o  m


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to