> the linefeed isn't coming from the code you showed,
ok: you agree there should be no linefeed?
it is presumably
coming from the variable $myId the definition of which you didn't show.
You could get rid of it with:
<xsl:value-of select="normalize-space($myId)" />
if you were right, the " | " in my example output
would be moved to the new line; but is is still
on the right line.
Have a look at the follwing example:
------- message.xsl --------
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.1">
<xsl:template match="/">
<xsl:message><xsl:text>Adam</xsl:text></xsl:message>
<xsl:message><xsl:text>Eve</xsl:text></xsl:message>
</xsl:template>
</xsl:stylesheet>
---------- EOF message.xsl ----------
This stylesheet produces the following output:
name@nirwana:~/public_html/test> saxon empty.xml message.xsl RETURN
Adam
Eve
<?xml version="1.0" encoding="utf-8"?>name@nirwana:~/public_html/test>
maybe it is a problem of the terminal window?
(I am using xterm with fvwm2, the SuSE standard if you
do not want to use KDE.)
johannes