Re: [xsl] I output a tab character, then the output file contains space, tab, space ... why?
2016-04-08 10:36:02
Martin wrote:
Doesn't
<xsl:value-of select="$headers" separator="{$field-separator}"/>
suffice to get what you want?
That is fantastic - thanks Martin!
However, .......
That solves the problem of showing the headers, but I also need to loop over
some values, compute an appropriate value to output, and then follow the value
with a tab (hex 9). Like this:
<xsl:for-each select="foo">
<xsl:variable name="value" select="f:compute-value(.)"/>
<xsl:sequence select="$value" />
<xsl:sequence select="$field-separator"/>
</xsl:for-each>
So I really need a general solution.
How can I output a tab (hex 9) without also getting the space (hex 20)
characters surrounding the tab character?
/Roger
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [xsl] I output a tab character, then the output file contains space, tab, space ... why?, Costello, Roger L. costello(_at_)mitre(_dot_)org
- Re: [xsl] I output a tab character, then the output file contains space, tab, space ... why?, Martin Honnen martin(_dot_)honnen(_at_)gmx(_dot_)de
- Re: [xsl] I output a tab character, then the output file contains space, tab, space ... why?, Martin Honnen martin(_dot_)honnen(_at_)gmx(_dot_)de
- Re: [xsl] I output a tab character, then the output file contains space, tab, space ... why?, Michael Kay mike(_at_)saxonica(_dot_)com
- Re: [xsl] I output a tab character, then the output file contains space, tab, space ... why?, Eliot Kimber ekimber(_at_)contrext(_dot_)com
- Re: [xsl] I output a tab character, then the output file contains space, tab, space ... why?,
Costello, Roger L. costello(_at_)mitre(_dot_)org <=
- Re: [xsl] I output a tab character, then the output file contains space, tab, space ... why?, Costello, Roger L. costello(_at_)mitre(_dot_)org
- Re: [xsl] I output a tab character, then the output file contains space, tab, space ... why?, Eliot Kimber ekimber(_at_)contrext(_dot_)com
|
Previous by Date: |
Re: [xsl] I output a tab character, then the output file contains space, tab, space ... why?, Eliot Kimber ekimber(_at_)contrext(_dot_)com |
Next by Date: |
Re: [xsl] I output a tab character, then the output file contains space, tab, space ... why?, Martin Honnen martin(_dot_)honnen(_at_)gmx(_dot_)de |
Previous by Thread: |
Re: [xsl] I output a tab character, then the output file contains space, tab, space ... why?, Eliot Kimber ekimber(_at_)contrext(_dot_)com |
Next by Thread: |
Re: [xsl] I output a tab character, then the output file contains space, tab, space ... why?, Martin Honnen martin(_dot_)honnen(_at_)gmx(_dot_)de |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|