Re: [xslt] Bug with nested tags of same type?
- From: Daniel Veillard <veillard redhat com>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] Bug with nested tags of same type?
- Date: Wed, 30 Mar 2005 05:04:59 -0500
On Wed, Mar 09, 2005 at 04:07:21PM +0100, Aaron Kaplan wrote:
> Is this a bug or am I doing something wrong? I think the xpath
>
> AAA[Title='foo']//BBB
>
> has a match in
>
> <AAA>
> <Title>foo</Title>
> <AAA>
> <BBB/>
> </AAA>
> </AAA>
>
> but according to xsltproc it doesn't. Here's the stylesheet I'm using
> to test it:
>
> <?xml version="1.0" encoding="utf-8"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
>
> <xsl:template match="AAA[Title='foo']//BBB">
> <xsl:message>got one</xsl:message>
> </xsl:template>
>
> </xsl:stylesheet>
C.f. bug http://bugzilla.gnome.org/show_bug.cgi?id=169718 this is now fixed
in CVS, thanks !
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]