[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
  • XSLQUERRY
    • XSL Developer - Wed, 27 Feb 2002 06:43:53 -0500 (EST)
      • Joerg Heinicke - Wed, 27 Feb 2002 07:26:17 -0500 (EST) <=
      • cutlass - Wed, 27 Feb 2002 07:48:44 -0500 (EST)
      • <Possible follow-ups>
      • Jeff Beadle - Wed, 27 Feb 2002 07:58:32 -0500 (EST)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member