[XML-SIG] Problem with 4xslt in Python on Windows

Mike Brown mike@skew.org
Sun, 14 Jul 2002 23:37:47 -0600 (MDT)


Andrew Ittner wrote:
> XsltException: Unable to open imported or included stylesheet
> "listofcompanies.xsl", using base URI "D:\", or all base URIs in the include
> PATH

'D:\\Internet\\_XML_\\' is not a URI, it is a local filesystem path.

You can make it into a URI by simply running the string through
Ft.Lib.Uri.OsPathToUri().

You should end up with something like 'file:///D|/Internet/_XML_'.
Use that as the 2nd argument to fromStream().

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/