This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Problem of syntax of filter ?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Problem of syntax of filter ?
- From: Ingo Schildmann <ingoschi at web dot de>
- Date: Wed, 16 May 2001 10:43:14 +0200
- References: <C1256A4E.002D330C.00@frmta01.netfr.alcatel.fr>
- Reply-To: xsl-list at lists dot mulberrytech dot com
On Wednesday 16 May 2001 10:13, you wrote:
>
> I've tried this code in order to select the element :
>
> <xsl:variable name="matchingDownloadTableName"
> select="$dtableFile//DownloadTableName
> [(@downloadType=$downloadType)]"/> (with
> $downloadType=EL_NOT_OCB)
>
> Then, I build my output tree like this :
>
> <xsl:for-each select="$matchingDownloadTableName">
> <DownloadTableName
> downloadType="{@downloadType}" fileName="{@fileName}"/> </xsl:for-each>
>
> But the result of my output tree is empty !
>
> I don't understand why my code doesn't work.
> Is it my filter good ?
>
I think your problem might be that you declare $downloadType as EL_NOT_OCB
instead of 'EL_NOT_OCB', so it is'nt recognized as string.
Bye, Ingo
--
Ingo Schildmann ingoschi@web.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list