Re: [xsl] relative URI in href

Subject: Re: [xsl] relative URI in href
From: Rolf Schumacher <mailinglist@xxxxxxxxx>
Date: Mon, 25 Aug 2008 00:04:38 +0200
Thank you, Florent,

there is something wrong here and the problem may be related to it.
I use a new version of the IDE and it handles copies of resource files
different. This may be the cause. Got to figure that out first.

Rolf

Florent Georges wrote:
> Rolf Schumacher wrote:
>
>   
>> String path=package.Main.class.getResource("includer.xsl").getPath();
>> Source xslt = new StreamSource(new File(path));
>> xslt.setSystemId(path);
>> Transformer transformer =
>>   TransformerFactory.newInstance().newTransformer(xslt);
>> transformer.transform(srcXml, fo);
>>     
>
>   
>> Do you spot something wrong here?
>>     
>
>   No, I don't.  Maybe someone else will, here or on a list for your
> processor.  What is your processor?  What is within the path variable?
>
>   Regards,
>
> --drkm
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>       _____________________________________________________________________________ 
> Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr

Current Thread