Thanks all!
I mis-understood the "absolute path".
I use javascript to load XSLT. In FF use XSLTProcessor and use
transformNode in IE.
I have a webserver can be accessed by http://xxxx.com:8080/test
And there have /path1/xml1 /path2/xml2 /path3/xsl under the /test in
the server node.
So I thought document("/test/path1/xml1") is a absolute path. FF can know
it but IE failed.
I changed to document("http://xxx.com:8080/test/path1/xml1") then it works
in IE.
But the issue is sometimes the http://xxx.com:8080 could be changed, so may
be it's better to change the XSLT by javascript in run time.
Another question is if xml1 is NOT a file, but just a XML object got from
AJAX or some other , how can XSLT use the XML object? the document() only
can load a XML from a URI , isn't it?
Thank you.
------------------------------
_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--