Le 22 oct. 04, � 14:09, Sandor Spruit a �crit :
...Troubles start when the stylesheet has an extra namespace to process the
results of the request generator. Somehow, the transformation seems to be producing stuff that the Nokia beast does not like. No idea why!..

Do you filter out your namespaces at the end of the pipelines?
Some transformers do leave extra namespaces in the output, which makes the WML invalid.
Adding a transformation like the one below should help if that's the problem.

Also, it's always a good idea to check your output against the WML DTD, emulators are often more permissive than this.

-Bertrand


<!-- Copy everything but remove namespace nodes that might have been left over -->
<xsl:template match="*">
<xsl:element name="{name()}">
<xsl:apply-templates select="@*|node()"/>
</xsl:element>
</xsl:template>

    <xsl:template match="@*|text()|comment()|processing-instruction()">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()"/>
        </xsl:copy>
    </xsl:template>


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to