Return-Path: Delivered-To: apmail-xml-xalan-j-users-archive@xml.apache.org Received: (qmail 7191 invoked by uid 500); 8 May 2003 19:21:28 -0000 Mailing-List: contact xalan-j-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list xalan-j-users@xml.apache.org Received: (qmail 7146 invoked from network); 8 May 2003 19:21:27 -0000 Received: from lotus.lotus.com (129.42.250.41) by daedalus.apache.org with SMTP; 8 May 2003 19:21:27 -0000 Received: from internet1.lotus.com (internet1 [172.16.131.235]) by lotus.lotus.com (8.12.9/8.12.6) with ESMTP id h48JFIhW000512 for ; Thu, 8 May 2003 15:15:18 -0400 (EDT) Received: from cammail08.lotus.com (cammail08.lotus.com [9.33.9.34]) by internet1.lotus.com (8.12.9/8.12.6) with ESMTP id h48JLSVk007118 for ; Thu, 8 May 2003 15:21:28 -0400 (EDT) MIME-Version: 1.0 Sensitivity: To: xalan-j-users@xml.apache.org Subject: RE: Conditional assignment of tree frag to variable doesn't work. X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 Message-ID: From: david_marston@us.ibm.com Date: Thu, 8 May 2003 15:20:44 -0400 X-MIMETrack: Serialize by Router on CAMMAIL08/CAM/M/Lotus(Release 6.0.1|February 07, 2003) at 05/08/2003 03:20:45 PM, Serialize complete at 05/08/2003 03:20:45 PM Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The construct We have a whatever at this point. We don't have a whatever at this point. is part of our test suite, and it should work in all 2.x versions. Since it creates an RTF, the variable is always "set", so a test for set-ness, should always pass. On the other hand, variables don't seem to pop out of xsl:choose as in etc. due to the visibility rule (following siblings and descendants) in part 11.5 of the XSLT spec. Sorry about that. I think Keith's problem might be about critical values being buried in the RTF he created. My suggestion is to have a variable that is set to a simple boolean (not RTF) that will be directly usable in later xsl:when elements. .................David Marston