On 17 Dec 2003, at 19:26, Hunsberger, Peter wrote:
Jeremy Quinn <[EMAIL PROTECTED]> writes:
<snip/>
the WoodyThe variable 'resources-uri' is indeed defined on each of these XSLTs, which is IMHO unnecessary.
The strange thing is ..... I do not get this error withthe UTFSamples.
First I looked to see if changing the Samples from using Xalan to XSLTC raised the problem (we have to use XSLTC because ofproblems with Xalan).
<snip/>
was that weThe next difference between our project and the Samplesthe woodyhave a local StyleSheet called 'woody.xsl' which includessamples stylesheet thus:
Have you tried using an import instead of an include?
It does not help
I've definitely seen errors on variables being defined multiple time in included style sheets, in our case we could fix this, but I suspect import might also allow this?
First I tried incorporating 'woody-samples-styling.xsl' into my stylesheet by 'import' rather than 'include'. I still got the error.
Then I tried changing the 'include's that 'woody-samples-styling.xsl' makes to 'import's.
The error went away, but then the StyleSheets do not do their job properly ..... 'import' and 'include' have different meanings.
So the only way I can get the Woody XSLTs to work is by commenting out the duplicated variable declarations in all but 'woody-samples-styling.xsl'.
Is anyone else seeing this problem?
Is anyone using these StyleSheets in their own projects without making this patch?
Is there a real need to have that variable declared multiple times?
regards Jeremy
smime.p7s
Description: S/MIME cryptographic signature
