You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by GEORGE FINK <ge...@eng.sun.com> on 2001/02/07 23:26:31 UTC

Problems with document() in Xalan Java 2

I'm trying to move my xsl from xalan 1 to xalan 2, and I've having
problems
with the document() command and a few related things.

First of all, I notice that I no longer need to have ' ' around all my
strings, especially as parameters.  Is there an explanation as to when
single quotes are needed in my literals?

More majorly, I use <xsl:value-of select="document('filename')"/>
to get xml documents, but I get "SystemId Unknown" errors pointing to
the /> at the end of the value-of, when I use xalan2 (it works in
xalan1).  

Ideas?

--George  (I'm not on xalan-dev so please send messages directly)

-- 
George Fink, Software Engineer, Forte JSP/Servlet Tools group
George.Fink@sun.com, 650-786-2812