[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsl-list Digest 12 Jul 2007 05:10:01 -0000 Issue 1

Subject: RE: xsl-list Digest 12 Jul 2007 05:10:01 -0000 Issue 1194
From: "shi wudao" <shiwudao@xxxxxxxxxxx>
Date: Thu, 12 Jul 2007 14:40:48 +0000
 RE: xsl-list Digest 12 Jul 2007 05:10:01 -0000 Issue 1
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. ------------------------------


_________________________________________________________________
OmSCJ@=gIOWn4s5D5gWSSJ<~O5M3!* MSN Hotmail!# http://www.hotmail.com


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.