Hi Glen,
Yes, you are correct. The problem would
happen even if I wasn't using a WAR.
I didn't realize this until after I
figured out how to use StreamSource.setSystemId()
in a URIResolver class. For a WAR, I use this:
URL myURL = this.getClass().getResource("/xsl/xhtml/");
streamSource.setSystemId(myURL.toString());
Then I realized that if not using a WAR,
setSystemId() still needs to be set to the
appropriate location to enable the
document() functions in the *.xsl files
to work.
Thanks,
Don
----- Original Message -----
From: "Glen Mazza" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, September 12, 2006 8:29 AM
Subject: Re: docbook-xsl Stylesheets packaged in a WAR
> Don Adams wrote:
>
> >Hello,
> >
> >Has anyone successfully packaged the docbook-xsl stylesheets
> >into a WAR and used them with JAXP?
> >
> >
>
> I'm unsure what the relevance of the WAR file to your problem is. Upon
> deployment, wouldn't the servlet container expand the WAR file into its
> various folders and files anyway? So it would appear that your problem
> would be happening regardless of whether or not the files originally
> came from a WAR file.
>
> Glen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]