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

RE: XSL manipulating two XMLs

Subject: RE: XSL manipulating two XMLs
From: "Najmi, Jamal" <Jamal.Najmi@xxxxxxxxxxx>
Date: Thu, 2 May 2002 05:51:49 -0400
how to use newtransformer
Really appreciate it.  It is working now!!!

Jamal

-----Original Message-----
From: J.Pietschmann [mailto:j3322ptm@xxxxxxxx]
Sent: Thursday, May 02, 2002 1:53 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  XSL manipulating two XMLs


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

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.