Re: [xsl] Trouble matching only elements with a specific combination of attributes in a child element.

Subject: Re: [xsl] Trouble matching only elements with a specific combination of attributes in a child element.
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Wed, 16 Oct 2002 23:09:32 +0200
<xsl:template match="object[metadata/app_data[@name = 'Type' and [@value
                                                                   ^
Beware, typo. Delete the marked bracket.

J.Pietschmann

Thanks for the correction. At the moment I wrote the code I pondered whether to show the two alternatives:


<xsl:template match="object[metadata/app_data[@name = 'Type' and @value = 'RFI']]">

<xsl:template match="object[metadata/app_data[@name = 'Type'][@value = 'RFI']]">

Regards,

Joerg


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread