Re: [xsl] XSLQUERRY

Subject: Re: [xsl] XSLQUERRY
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Wed, 27 Feb 2002 13:29:44 +0100
Isn't this simplest XPATH?

<xsl:template match="root">
    <xsl:value-of select="schedule[@category='title' and @type='title1']"/>
</xsl:template>

Joerg

XSL Developer wrote:

dear xsl members, i have a problem. here it goes.. xml structure:

<root>
<schedule category="title" type = "title2">
title2
</schedule>
<schedule category="title" type = " title1">
title1
</schedule>
<schedule category="title" type = "title3">
episode
</schedule>
<schedule category="description" type="desc1">
desc1
</schedule>
</root>
and i want to get the text where category = title and type = title1

how can i do that??
thanks
vsd


--

System Development
VIRBUS AG
Fon  +49(0)341-979-7411
Fax  +49(0)341-979-7409
joerg.heinicke@xxxxxxxxx
www.virbus.de


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



Current Thread