Hello,
i'm a Xalan-1.4 user (Linux & Solaris).
I'm using testXSLT, and trying to construct a tree-fragment of an XML file ,which is 
not the input XML. (it is actually a xsd file, included by another xsd file, which is 
the input XML)
I'm trying doing it using the line:

        <xsl:copy-of select="document($file)" />

however, the testXSLT outputs the following message:

        XSLT warning: Only text nodes can be copied in this context.  The node is 
ignored, source tree node: #document 

i used to use Xalan-1.2, and its testXSLT doesn't have any problems processing this 
line

is there another way of constructing a tree-frag from file, or a way to work around 
this warning?

tx in advance

Reply via email to