Hello Mailing list,
I came across a problem with cocoon 2.1m3 & cocoon CVS, but the thing
works with latest cocoon 2.0:
In cocoon 2.1, when I do a <xsl:variable name="foo"
select="document('foo.xml')/bar"/> inside a stylesheet, when the
stylesheet is processed, the entire content of foo.xml is directly
displayed on the screen (not even the sub-content between <bar> and
</bar>). Furthermore, the rest of the stylesheet templates seem to be
ignored.
But in cocoon 2.0, the content of 'foo.xml' between <bar> and </bar> is
only displayed when I say so (e.g. by a <xsl:value-of select="$foo"/>). So
in cocoon 2.0 it works as I want it to.
Is this a bug, or is it a normal behaviour of cocoon 2.1?
What is even more surprising is that the latest Forrest CVS uses this type
of variables with the latest cocoon 2.1 CVS, and it aparently works!!!
That's why the problem probably comes form me messing up somewhere...
If someone could look at this it would be greatly appreciated.
/Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]