Check my other post for a better description of what I need...
And yeah, I did mean test=write...
On Thursday, March 7, 2002, at 02:45 AM, KOZLOV Roman wrote:
> Hello Noah,
>
> Excuse me, please, if I'm too pedantic, but did you mean
> "test=write" instead of
> "write=test"?
>
> Best regards
> Roman
>
> Noah Mittman wrote:
>
>> [...]
>> Like:
>>
>> source.xml:
>> <foo id="100">
>> <bar>Hello</bar>
>> <foo>
>>
>> write.xsl?write=test (submitted via form):
>> <xsl:param name="test"/>
>> <xsl:template match="foo">
>> <html>
>> <xsp:logic>
>> SpecialLogger logger = new
>> SpecialLogger(<xsl:value-of
>> select="@id"/>);
>> if (logger.writeThis("<xsl:value-of
>> select="$test"/>")) {
>> <body>
>> <xsl:value-of
>> select="bar"/> worked!
>> <!-- body content version
>> A -->
>> </body>
>> } else {
>> <body>
>> <xsl:value-of
>> select="bar"/> didn't work
>> <!-- body content version
>> B -->
>> </body>
>> }
>> <xsp:logic>
>> </html>
>> </xsl:template>
>>
>> + ~20 other xsl files that spit out frames based on the same XML
>> but only require barebones XSLT
>> [...]
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>