
April 12th, 2004, 03:56 PM
|
|
Registered User
|
|
Join Date: Apr 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Changing the BaseURI to resolve relative URI:s in an XSLT-stylesheet?
Hi,
need some explanations on how relative uri:s in an xml/xslt-file are resolved by microsofts xmldom parser. I would need some instructions on how to programatically change the base uri/url which is assumed by the parser.
I try to transform an xml-file using an xslt-stylesheet, which needs to reference other files (a css-stylesheet and a js-file), using relative uri:s. when these relative uri:s are resolved, however, the base uri seems to be that of the html-file in which the parsing and transformation is made (client-side) and not that of the xslt-stylesheet. (all stylesheet-files are located in a directory different from that of the html-file).
thanks,
Mats
|