Hi, I had the same problem with esql in a Dynamic XSLT using XSP. There was no solution found or given, so I made a workaround and skipped the logic sheet and did everything straight in Java. I too find the behavior very strange and would rather see this solved. It would open a lot of possibilities in XSP. Bert
At 19:20 14/05/2002 -0500, you wrote: > > C2 doesn't seem to be behaving as expected...my code looks just like >the > > examples. Any ideas? I'm sure it's something obvious. > > > > Okay, so apparently this: > > > > String userID = <xsp-session:get-attribute name="malin-uid"/>; > > > > Generates into this (and, obviously, generates some errors): > > > > String userID = > > xspAttr.addAttribute( > > "", > > "name", > > "name", > > "CDATA", > > "malin-uid" > > ); > > > > > > this.contentHandler.startElement( > > "http://apache.org/session/2.0", > > "get-attribute", > > "xsp-session:get-attribute", > > xspAttr > > ); > > xspAttr.clear(); > > > > > > > > this.contentHandler.endElement( > > "http://apache.org/session/2.0", > > "get-attribute", > > "xsp-session:get-attribute" > > ); > > > > ; > > > > TIA, > > Zack > > >--------------------------------------------------------------------- >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]> --------------------------------------------------------------------- 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]>