[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] discarting all content


Subject: [xsl] <xsl:sort> discarting all content
From: "Markus Karg" <karg@xxxxxxxxx>
Date: Wed, 10 Mar 2010 08:00:02 +0100

Dear XSL Professionals,

We have this rather simple XSL snippet which is working perfectly:

<xsl:for-each select="$v">
    <xsl:message><xsl:value-of select="@a"/></xsl:message>
</xsl:for-each>

But when we are adding ANY sorting (independent of the content of it's select
attribute, and even if we do not provide a select attribute at all) the is no
output anymore -- the loop is just not executed anymore!

<xsl:for-each select="$v">
    <xsl:sort select="@x" />
    <xsl:message><xsl:value-of select="@a"/></xsl:message>
</xsl:for-each>

We have no clue why there is output anymore. What we know is that it is not
related to <xsl:message> as it also happens if we are trying to output to the
normal result stream. Transformer used is the one that is defaulted in Java
6.


With kind regards

Markus Karg
Head of Implementation & Design

QUIPSY QUALITY GmbH & Co. KG
Ein Unternehmen der MES-Gruppe
Stuttgarter Strasse 23  |  D-75179 Pforzheim
Telefon: +49(0)7231/9189-52  |  Telefax: +49(0)7231/9189-59
E-Mail: karg@xxxxxxxxx  |  Internet: www.quipsy.de


Geschdftsf|hrer: Nils Schroeder
Registergericht Mannheim HRA 701214 I  USt-IdNr.: DE256549073
Telefon: +49(0)7231-9189-0  |  Telefax: +49(0)7231-9189-59  I  E-Mail:
info@xxxxxxxxx

Diese E-Mail enthdlt persvnliche, vertrauliche und vor Weitergabe gesch|tzte
Informationen und ist ausschlie_lich f|r den vorgesehenen o.g. Empfdnger
(Adressaten) bestimmt. Falls Sie diese E-Mail versehentlich erhalten haben und
nicht der vorgesehene Empfdnger sind, bitten wir Sie, die E-Mail und deren
Anhdnge nicht aufzubewahren, nicht zu vervielfdltigen, nicht zu nutzen und
nicht weiterzugeben. Bitte informieren Sie uns als Absender |ber diesen
Zustellungsfehler und lvschen Sie die E-Mail.


Current Thread
Keywords
xsl