[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] XSL manipulating two XMLs
Subject: Re: [xsl] XSL manipulating two XMLs
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Thu, 02 May 2002 02:52:57 +0200
|
Najmi, Jamal wrote:
public Source resolve(String href, String base) throws
TransformerException {
href = _workingDirPath + FILE_SEPARATOR_PROPERTY + href ;
System.out.println("href in URIResolver: " + href) ;
Source source = new SourceImpl(href) ;
return source ;
...
> SystemId Unknown; Line 50; Column 35; Can not load requested doc: Not
> supported: com.artesia.cus
> t.discovery.web.common.SourceImpl@437f31
You'll have to return a JAXP StreamSource or SAXSource. Try
return new StreamSource(new File(href));
The "SystemId Unknown" suggests the engine has some trouble
to get the name of your XSL file. How did you construct your
transformer? Did you use
newTransformer(new StreamSource(new File(<full pathname to xsl>)))
There should be no need for an URIResolver in your case.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: [xsl] XSL manipulating two XMLs, (continued)
- J.Pietschmann - Thu, 02 May 2002 00:50:48 +0200
- Michael Kay - Thu, 2 May 2002 10:55:28 +0100
- Najmi, Jamal - Wed, 1 May 2002 17:01:48 -0400
- Najmi, Jamal - Wed, 1 May 2002 19:57:56 -0400
- J.Pietschmann - Thu, 02 May 2002 02:52:57 +0200 <=
- Michael Kay - Thu, 2 May 2002 11:00:04 +0100
- Najmi, Jamal - Wed, 1 May 2002 20:13:22 -0400
- Najmi, Jamal - Thu, 2 May 2002 05:51:49 -0400
|
|