xsl:include problem

Bhushan Bhangale <[email protected]>
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <A9F75F9AB514D611A69D0002A5AD9BED12BE69AF@lmnukex05.lastminute.com>
Sorry for spamming but I am stuck in a big problem . My problem is related
to xsl:include and doing the transformation using xsltc.

I am deploying a war file in jboss. The war file has 2 xsl files in it.
1.xsl file include 2.xsl file like this ->

<xsl:include href="2.xsl"/>

When I run the transformation it doesn't resolve the 2.xsl file. It looks
for the file in bin directory of jboss. I don't want to put the 2.xsl in bin
directory.

After this I tried URIResolver and created StreamSource by reading the 2.xsl
as resourceAsStream using classloader. But still I get error. I read so many
problems and tried many ways but failed.

Can anyone please help me?

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.