You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by matthew denner <ma...@evtechnology.com> on 2001/01/12 18:09:52 UTC
DOM output from Transformer as input to Transformer
Dear all,
i'm trying to tie together two Transformers from Xalan 2.0D06. the output
of one transformer is a DOM node; i then pass that as input into another.
the problem is that i'm getting a DOM006 exception thrown by the second
transformer because i'm not allowed text nodes in a document. i added this
as an allowed child node (in xerces 1.2.3) and my output only contains text,
no XML element tags at all (they are present after the first Transformer has
done it's processing but not after being passed through the second one).
both Transformers are using the XSL script:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:template name="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
xalan is xalan-j 2.0D06 and xerces is 1.2.3 and i'm running on linux.
anyone got any idea why this might be happening as what i'm trying to achieve
doesn't seem to go against the XSL idea nor what the code appears to be
capable of!
Cheers,
Matt
-----------------------------------------------------------------------------
Sessami is a trademark of Escape Velocity Technology Mobile Services Limited.
All information contained in this e-mail is confidential and for the use of
the addressee only. If you receive this message in error please notify.