Hi,

I have a problem using Dom and Xalan. In fact, I parse 2 XSL file and I want
to import nodes from one to another. In theory, there is no problem, but
when I want to transform the result XSL file in HTML it gives me an error :

file:///C:Test\\javax.xml.transform.dom.DOMSource; Line 0; Column 0;
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.Tr
ansformerException: javax.xml.transform.TransformerException: xsl:template
is no
t allowed in this position in the stylesheet!

I saw the Dom tree, it's OK. I think, but I'm not sure, that the Transformer
does not recognize each xsl:template, xsl:element node.

Thanks if you can help me.

Maybe a solution is to read each node and to create an ElemElement,
ElemTemplate...
Anne-Claire

Reply via email to