>Had something working just fine when the files where on the local file
>system but now that I have them in a jar it's not working. I believe
>the paths are correct just seems to be going to the local file system
>and not the jar file.
It is behaving as advertised.
you are doing effectively
new StreamSource( "xss/style.xsl" );
StreamSource is expecting an URL, e.g. the result of a getResource.
You gave it a relative URL which I presume it is interpreting as:
file:xxx/style.xsl
a file in the CWD of the local file system, not a resource.
Try feeding the rnesult of a getResourceAsStream(" xss/style.xsl" );
instead where that file is stored under the current package name in
the jar.
http://mindprod.com/jgloss/image.html
and
http://mindprod.com/jgloss/resource.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.